Skip to content
BREW & BYTES

Color Palette Generator

Create balanced, accessible color combinations that align with your brand's personality and purpose.

Choose Your Base Color

Select a primary color that represents your brand identity. This will be the foundation of your color palette.

#

Your Base Color

Color Information

HEX
RGB
HSL
Color Name

Color Psychology

Red

Evokes excitement, passion, and urgency. Great for calls-to-action and food-related businesses.

Blue

Conveys trust, security, and professionalism. Ideal for financial, healthcare, and technology sectors.

Green

Represents growth, nature, and health. Perfect for environmental, wellness, and financial services.

Yellow

Suggests optimism, clarity, and warmth. Works well for energy, creativity, and children's products.

Purple

Signals luxury, creativity, and wisdom. Effective for beauty, education, and creative industries.

Pro Tip

Choose colors that reflect your brand personality and resonate with your target audience's expectations.

Choose a Color Harmony Method

Select how you want to generate your color palette based on your primary color.

Generated Color Palette

Color Harmony Guide

Complementary

Best for: Highlighting important elements, creating energy and excitement. Use sparingly to avoid visual tension.

Analogous

Best for: Creating a sense of harmony and cohesion. Often found in nature. Works well for designs that should feel unified.

Triadic

Best for: Vibrant, balanced designs. Offers strong visual contrast while maintaining color harmony. Good for playful, energetic designs.

Split Complementary

Best for: Creating contrast with a more sophisticated feel than complementary schemes. Easier to balance than true complementary colors.

Monochromatic

Best for: Elegant, sophisticated designs. Creates a cohesive look that's easy on the eyes. Good for minimalist designs and brands.

Tetradic

Best for: Rich, complex designs with many elements. Offers the most variety but can be challenging to balance. Best when one color dominates.

Fine-tune Your Palette

Adjust each color to perfect your palette and check for accessibility.

Accessibility Check

Preview text colors on backgrounds to ensure proper contrast. WCAG recommends a minimum contrast ratio of 4.5:1 for normal text.

Accessibility Guidelines

WCAG Contrast Requirements

Normal Text (14pt+) 4.5:1
Large Text (18pt+) 3:1
UI Components 3:1

Color Blindness Considerations

About 8% of men and 0.5% of women have some form of color vision deficiency. Ensure your design works for them too.

  • Don't rely on color alone to convey meaning
  • Use patterns or icons alongside color
  • Avoid problematic color combinations (red/green)
  • Test your palette with color blindness simulators

Pro Tip

Save multiple variations of your palette for different uses: dark mode, light mode, and high-contrast versions for accessibility.

Export Your Color Palette

Get your color palette in various formats for implementation in your designs.

Your Finalized Palette

:root {
  /* Primary Color */
  --color-primary: ;
  
  /* Accent Colors */

  /* You might also want to create neutral shades */
  --color-text: #333333;
  --color-background: #ffffff;
  
  /* Semantic variables for consistent usage */
  --color-cta: var(--color-accent-1);
  --color-error: #dc2626;
  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --color-info: #0ea5e9;
}

/* Generated with https://brewandbytes.com*/
Implementation:
  • Place this code in your root CSS file or a dedicated variables file.
  • Use the variables in your CSS: color: var(--color-primary);
  • For opacity, use the modern RGB format: background-color: rgb(from var(--color-primary) r g b / 50%);
module.exports = {
  theme: {
    extend: {
      colors: {
        primary: '',

        // You might also want to add dark/light variations
        // or keep your gray scale
      }
    }
  },
  plugins: [],
}

// Generated with https://brewandbytes.com
Implementation:
  • Add this to your tailwind.config.js file.
  • Use in your classes: bg-primary, text-accent1
  • For opacity, use the Tailwind syntax: bg-primary/50
// Color Variables
$color-primary: ;

// Accent Colors

// Neutral Colors
$color-text: #333333;
$color-background: #ffffff;

// Semantic Colors
$color-cta: $color-accent-1;
$color-error: #dc2626;
$color-success: #16a34a;
$color-warning: #f59e0b;
$color-info: #0ea5e9;

// Function to add opacity to any color
@function with-opacity($color, $opacity) {
  @return rgba($color, $opacity);
}

// Generated with https://brewandbytes.com
Implementation:
  • Place this code in your variables.scss or _colors.scss file.
  • Import in your main SCSS file: @import 'variables';
  • Use in your styles: color: $color-primary;
  • With opacity: background-color: with-opacity($color-primary, 0.5);
{
  "$schema": "https://schemas.wp.org/trunk/theme.json",
  "version": 3,
  "settings": {
    "color": {
      "palette": [
        {
          "slug": "primary",
          "color": "",
          "name": "Primary"
        },

        {
          "slug": "foreground",
          "color": "#ffffff",
          "name": "Foreground"
        },
        {
          "slug": "background",
          "color": "#000000", 
          "name": "Background"
        }
      ]
    },
    "layout": {
      "contentSize": "82rem",
      "wideSize": "85rem"
    }
  }
}

// Generated with https://brewandbytes.com
Implementation:
  • Add this JSON to your WordPress theme.json file.
  • The palette will be available in the WordPress block editor color picker.
  • Use the colors in your blocks with the class names: has-primary-color, has-accent-1-background-color

Export Options

Preview of your generated palette image:

Your Color Palette
brewandbytes.com
Generated with brewandbytes.com

Implementation Guide

60-30-10 Rule

For balanced designs, distribute your colors using:

  • 60% primary/neutral color (backgrounds, large areas)
  • 30% secondary color (sections, containers)
  • 10% accent color (buttons, highlights, focus elements)

Color Naming Conventions

Use semantic naming for maintainable code:

--color-primary instead of --color-blue
--color-cta instead of --color-accent-1
--color-success instead of --color-green

Dark Mode Strategy

Consider creating variations of your palette for dark mode using CSS custom properties:

:root {
  --color-primary: #3b82f6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-primary: #60a5fa;
  }
}

Pro Tip

Document your color system for future reference and team collaboration. Create a simple style guide with examples of where each color should be used.