New Tool Radar

AI Design Workflows

How to Check an AI-Generated Image Matches the Brand Palette Hex Values

Sample the colours in an AI-generated image and compare them with the brand palette hex values, because generators approximate colours they were not given.

Schematic with three steps: Sample the main colours in the image; Compare each sample with the brand hex; Correct the colours or regenerate with the.

An AI image generator asked for a brand blue will produce a blue that looks close and measures wrong, and a brand that relies on exact colours cannot accept an approximation. Adobe documents that RGB is an additive colour model used for monitors and CMYK is a subtractive model used for print, and that some colours a monitor can show cannot be reproduced in print, so they fall out of gamut. Sample the colours in the image and compare them with the brand hex values before the image is used.

What you need

  • The AI-generated image
  • The brand palette with its hex values
  • A colour picker or eyedropper tool

Step 1: Sample the main colours in the image

Use an eyedropper to sample the main colours in the image: the background, the headline colour, and any brand-coloured element. Write down the hex value of each sample.

Step 2: Compare each sample with the brand hex value

Compare each sampled hex value with the brand palette. Mark any colour that differs, and note how far it differs: a one-digit difference is a rounding error, a different hue is a wrong colour.

Step 3: Correct the colours or regenerate with the hex values

If a colour is wrong, correct it in an image editor or regenerate the image with the exact hex values in the prompt. Re-sample and compare again before using the image.

Worked example: synthetic palette check of one image

The table below is a synthetic example. It shows the expected result of checking one image against a three-colour brand palette; no image was used.

Brand colour Brand hex Sampled hex Verdict
Primary blue #1B4F72 #1B4F72 Pass
Accent orange #E67E22 #E67E22 Pass
Background grey #F2F3F4 #EAECEE Fail – off shade

Expected result (UNTESTED). 2 of 3 colours match the brand palette exactly, and the background grey is off by a shade, so the background must be corrected before the image is used. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • A colour that matches on screen can shift in print, so check the CMYK values for printed use as well.
  • Sampling a single pixel can mislead, so sample several pixels in each colour area.
  • A generator may match a hex value in one image and miss it in the next, so check every image, not only the first.
  • JPEG compression can shift colours slightly, so sample the file that will be used, not the original export.

Sources

See all