Skip to content
Floskool

Chapter 1 · The resource

Build your complete palette, from HEX codes to contrast

Free lesson 14 minGroup Flokup

Follow this course in your space: your progress is saved, and the community answers your questions.

Follow for free

A style guide palette isn't a list of colors you like. It's a system: every color has a role, a proportion and approved pairings. That's what lets anyone (you on a tired evening, an intern, a print shop) produce the right visual without asking questions.

The five roles in a palette

RoleWhat it's forHow many
PrimaryThe color people associate with your brand: headers, large blocks of color, strong elements1
SecondaryIt supports the primary and adds variety1
AccentWhatever needs to catch the eye: buttons, "new" badges, key words1, used sparingly
Light neutralsBackgrounds, cards, breathing room1 or 2
Dark neutralsText, outlines1 or 2

Most failed style guides have three "primary" colors fighting each other. Only one gets top billing.

The 60/30/10 rule

It's a guideline borrowed from interior design, and it's very handy for visuals:

  • 60% of the surface in the dominant color (often a light neutral, or your primary if it's a soft one);
  • 30% in the secondary color (or your primary, if the dominant color is a neutral);
  • 10% in the accent.

On a post, for example: a cream background (60%), a green banner and heading (30%), and a single button or word in orange (10%). It's not a mathematical law: it's a guardrail against the visual where everything shouts.

The palette system prompt

Start from the colors you pulled from your mood board (previous lesson), or from the palette you got in 10 prompts for your brand (in French).

You're an art director. Here are the starting colors for my brand [name], [your trade]:
[list of colors with their HEX codes].
My mood: [name of the chosen direction and its keywords].

Build the palette for my style guide:
1. Give each color a role: primary, secondary, accent, 2 light neutrals, 2 dark neutrals. Remove or adjust any that overlap.
2. For the primary and secondary, give me 4 shades each (2 lighter, 2 darker) with HEX codes, for card backgrounds and hover states.
3. Suggest the 60/30/10 split for: a social media post, a web page, a business card.
4. List the text-on-background pairings you recommend, and the ones to ban.
5. For each color, suggest a print equivalent for my print shop to confirm.
Say clearly that you can't see colors and that contrast must be checked with a tool.

Checking contrast, without the jargon

Contrast is the difference in brightness between text and its background. Too low, and the text becomes unreadable for some of your customers (tired eyes, a screen in the sun, color blindness). The web accessibility guidelines (WCAG) set numeric thresholds, expressed as a ratio:

  • at least 4.5 to 1 for regular text;
  • at least 3 to 1 for large headings and important graphic elements (icons, button outlines);
  • 7 to 1 if you want the strictest level for regular text.

How to check: search for "WCAG contrast checker," paste the HEX code of the text and the one of the background, and the tool gives you the ratio. Do it for every pairing you plan to use, and write the result in your style guide.

PairingMeasured ratioVerdictAllowed use
Dark text on light background[to measure]All text
White text on primary[to measure]Headings only?
White text on accent[to measure]Button?
Accent on light background[to measure]Icons?

The most common case: an orange, a yellow or a light green as the accent, with white text on top. It's often too weak. The fix isn't to change colors, but to put dark text on the accent, or to darken the accent slightly for buttons.

Screen or print: three different codes

  • HEX (and RGB): for everything shown on a screen. This is your reference.
  • CMYK: for four-color printing (flyers, cards, bags). A very bright color on screen can turn duller on paper.
  • Pantone: a swatch system of precise printing colors, useful for a sign or packaging.

The AI can suggest equivalents, but only a printed proof is final. Always ask your print shop for a test before a big run.

Examples by trade

Florist ("morning garden" direction): sage green primary, dusty pink secondary, coral accent, cream and near-black green neutrals. At the contrast check, white text on coral fails: her buttons will use very dark green text.

Plumber ("clean and reassuring" direction): deep blue primary, copper secondary, bright yellow accent, off-white and charcoal gray neutrals. Yellow is only used for "Emergency" badges on a blue background, never as text on white.

Fitness coach: purple primary, beige secondary, lime green accent. She keeps lime green for numbers and buttons, barely 10% of each visual.

Common mistakes

  • Copying the AI's codes without looking at them. Paste each code into a color preview tool.
  • Judging on a single screen. Look at your palette on your phone, in daylight, with the brightness turned down.
  • Using the accent everywhere. If it's everywhere, it no longer catches the eye.
  • Forgetting the neutrals. They're what make things look professional.

Your turn

  1. Run the palette system prompt with your starting colors.
  2. Measure the contrast of each pairing and fill in the table.
  3. Fix the pairings that fail (dark text on the accent, or a darker accent).
  4. Write down your final palette: role, HEX code, shades, proportions, allowed and banned pairings.