CyanframeTOOLS · PHOTO LAB · GUIDES

Cyanframe › Guides

How to pull your brand colours from a photo or logo

Last updated: October 23, 2026 · By Rachid Amesrouy

Quick answer

To get your brand colours, use the best copy of your logo (PNG or SVG), extract 3–4 main colours as HEX codes, then build a palette of one primary, one secondary and two neutrals for text and backgrounds — and use it everywhere.

Many small business owners have a logo but don't know its exact colour codes. The result: a slightly different blue in every post, and a green on the website that doesn't match the business card. That inconsistency weakens a brand. Here's how to get your exact colours and build a simple palette to use everywhere.

Step 1: Find the best copy of your logo

The cleaner the image, the more accurate the colours:

Step 2: Extract the colours

  1. Open Colour palette from image and choose the logo, or paste it with Ctrl+V.
  2. Start with a small number of colours (3 or 4) to see just the main ones. Transparent pixels are ignored automatically.
  3. For the most precise value, click directly on a large area of colour in the image and copy the HEX code shown.
  4. Save the codes in one place, or download the palette as an image and a CSS file.

Step 3: Build the palette

A simple brand needs only four or five colours:

RoleDescriptionWhere to use it
PrimaryThe most distinctive colour in your logoButtons, headings, key elements
SecondaryA complementary colour from or near the logoHighlights, icons, light backgrounds
Dark neutralNear-black or dark greyBody text
Light neutralWhite or very light greyBackgrounds
Accent (optional)A strong contrasting colourOffers and sales only

If your logo has a single colour, take the second one from a photo that represents your field: your product, your place, or a landscape close to your brand's spirit.

Borrowing a palette from a photo

No logo yet? Pick a photo you love that expresses your project (a beach for a seafood shop, spices for a restaurant, fabrics for a clothing store) and extract six colours. Nature produces harmonious palettes automatically. Take a strong one as primary and a calm one as secondary.

Use the colours consistently

Test readability

A colour that's lovely for a headline may be poor for long text. Body text needs high contrast with its background: dark on light or the reverse. Avoid yellow or light cyan text on white; use them for backgrounds and decoration instead.

Extract your colours

Tools

Related guides