Guidescolor pickercolor palettebrand colors

How to Use a Color Picker to Build a Brand Color Palette

By Bruce Shang

August 11, 2026· Updated on Sep 6, 2026· 6 min read

"Just use the blue from our logo" is the most dangerous sentence in design. Without exact color codes, everyone ends up with a slightly different blue, and your brand starts to look inconsistent. A color picker fixes that by turning any pixel into a precise, shareable color value.

What a color picker gives you

A color picker reads the color of any pixel and reports it in three interchangeable formats:

  • HEX, #4A90D9, the standard for web design and CSS
  • RGB, rgb(74, 144, 217), used in code and design tools
  • HSL, hsl(210, 63%, 57%), hue/saturation/lightness, easiest for tweaking

One color, three notations, the picker converts between them instantly.

Why a palette matters

  • Consistency, the same blue on your site, slides, and invoices
  • Recognition, people identify brands by color before they read the name
  • Speed, decisions get made once, then reused everywhere
  • Trust, cohesive colors look intentional, and intentional looks professional

How to extract colors from an image

The Color Picker on SlimImg reads colors straight from your own images:

  1. Open the tool
  2. Upload any image, a logo, a photo, a screenshot
  3. Click pixels to inspect colors, with a magnifier for precision
  4. Copy the HEX, RGB, or HSL values you want

This is the fastest way to build a palette from something you already love, a competitor's site, your favorite photo, an existing logo.

Build a palette with the 60-30-10 rule

A balanced palette has three layers:

  • 60% dominant color, background, large surfaces
  • 30% secondary color, headings, sidebars, contrast blocks
  • 10% accent color, buttons, links, highlights

Practical steps:

  1. Start with 1–2 colors from your logo or hero image
  2. Add a neutral (white, off-white, or dark gray) as the base
  3. Pick one accent for actions
  4. Check contrast: text on background should pass at least WCAG AA
  5. Keep the palette to 3–5 colors total

Choosing colors that work together

  • Analogous colors (neighbors on the wheel) are calm and safe
  • Complementary colors (opposites) create energy, use sparingly
  • Neutrals do the heavy lifting; never underestimate gray, white, and off-white
  • When in doubt, one strong accent plus neutrals is the safest combination

Using your palette

  • Web: paste HEX values into your CSS design tokens
  • Design tools: most tools accept HEX directly
  • Documents: use the palette in slides, reports, and templates
  • Save it: keep a small "brand colors" file with names and codes, e.g. Brand Blue #4A90D9

Reading HEX, RGB, and HSL like a pro

The three notations aren't three different colors, they're three ways of writing the same one. Being able to switch between them in your head makes palette work faster:

  • HEX is base-16 shorthand for RGB. Each pair of digits is a channel: #4A90D9 → red 4A (74), green 90 (144), blue D9 (217). Designers prefer HEX because it's compact and CSS-native.
  • RGB spells the same three numbers out: rgb(74, 144, 217). It's the format you'll see in design tools and desktop software.
  • HSL describes how the color feels: hsl(210, 63%, 57%). The 210 is the hue (position on the wheel, blue sits near 210°), 63% is saturation, and 57% is lightness.

The practical payoff of HSL: to make a color darker for hover states, lower the lightness a few points instead of guessing at a new HEX code. hsl(210, 63%, 47%) is a slightly darker version of the same blue, a reliable button-hover color that keeps the brand hue intact.

A real palette built on the 60-30-10 rule

Let's build one end to end. Start with a logo that contains a blue #4A90D9 and a warm gray #8A8A8A:

LayerShareColorJob
Dominant60%Off-white #FAFAFAPage background, cards
Secondary30%Blue #4A90D9Headings, links, key blocks
Accent10%Coral #FF6B4AButtons, highlights, CTAs
Neutral,Gray #6B6B6BBody text

That's four colors, under the 3–5 limit, and every role is covered. Add a fifth only when a layout genuinely needs it (for example a success-green for forms).

Checking contrast before you commit

A palette that looks right on your screen can still fail readability. Test every text-on-background pair:

Text colorBackgroundContrast ratioVerdict
#1A1A1A#FFFFFF17.4:1Passes AAA
#4A90D9#FFFFFF3.3:1Fails AA for normal text, use for large headings only
#FFFFFF#4A90D93.3:1Same result, fine for large text, not body copy

The rule of thumb: aim for 4.5:1 for normal text and 3:1 for large headings. If your brand blue is a 3.3:1 contrast on white, don't abandon it, use it for headings and large UI, and pair body text with a darker neutral.

From picker to production

Once the palette is locked, the fastest way to keep it consistent across a site is a design-token file. Define the colors once (e.g. --color-primary: #4A90D9;) and reference them everywhere, the same idea the Color Picker makes easy when you're starting from an image rather than a brand guide. And when you need those colors to appear in on-brand social graphics, the Social Resizer lets you build them at the exact size each platform displays.

Saving and sharing the palette

A palette only stays consistent if it travels. The lightweight way to keep it with the team:

  1. Save each color as a named token: brand-blue, accent-coral, text-gray
  2. Put the HEX, RGB, and HSL values in one table row per color (the picker gives you all three at once)
  3. Share the file, a spreadsheet, a README in the design repo, or a single slide
  4. Reference the tokens in CSS and design tools instead of re-picking colors

Ten minutes of setup now saves the "which blue is the brand blue?" conversation forever, and it turns the palette from something in your head into something the whole team can pull from.

A palette you can defend in a meeting

When someone asks why a button is that exact blue, the answer should be a HEX code, not a feeling. Build the palette so it can survive that question:

  • Start from one asset people already associate with the brand, usually the logo or a product photo
  • Pick the dominant color as the primary, one supporting color for accents, and two neutrals for text and backgrounds
  • Apply the 60-30-10 split: 60% neutral background, 30% primary, 10% accent
  • Record every choice as HEX in one shared file, and note which element it applies to

The discipline is the deliverable. A palette documented this way can be handed to a developer, a printer, or an agency without a conversation, and it prevents the slow drift where every new page uses a slightly different "brand color".

Color questions from real design workflows

What's the difference between HEX and RGB?

None, really, they describe the same color. HEX is base-16 shorthand for RGB: #4A90D9 equals rgb(74, 144, 217).

Can I pick colors from any image?

Yes. Upload photos, logos, screenshots, anything. For screenshots with UI colors, zoom in with the magnifier to hit the exact pixel.

How do I avoid colors that clash?

Use the 60-30-10 rule and limit yourself to 3–5 colors. When in doubt, one strong accent plus neutrals is the safest combination.

What does WCAG AA contrast mean?

It's an accessibility standard: text needs enough contrast against its background to be readable. Most contrast checkers tell you if your color pair passes, aim for AA (4.5:1 for normal text).

Is the color picker free?

Yes, and it runs entirely in your browser, so your images are never uploaded anywhere.

Want to see your palette in action? Combine it with the Social Resizer to produce on-brand images for every platform.

The ten-minute payoff

Extract the exact colors once, write down the HEX values, and the "which blue is our blue?" conversation stops happening. Keep the palette small, store the codes where the whole team can reach them, and pull fresh values straight from real brand assets with the Color Picker whenever a new material shows up.

Try the Color Picker

Free, private, and no account needed — your files never leave your browser.

Open Color Picker

Related Articles