Design

Hex color cheat sheet

Tap any swatch or code to copy it. Then use the converter and the contrast checker to adjust colors and make sure text stays readable.

Palette builder

Build a palette around one color

Start with a color you love, like a fabric, a paint chip, or your brand color. Choose how the other colors relate to it, then tune how vivid and how contrasting the set should be.

Color relationship
MutedVivid
SoftBold

Tap a color to copy it. Use the lock to keep a color while you shuffle the rest. Aa shows whether dark or white text is easier to read on that color.

On an Ohio Star block
On a card or flyer
Photo to palette

Pull colors from a picture

Upload a photo of fabric, a garden, a room you love, or anything else. The main colors appear below, ready to copy. Your photo stays on your device.

Your palette will appear here.

Convert

HEX · RGB · HSL

Tints & shades, tap to copy
Check

Contrast checker

The quick brown otter

Body text looks like this at regular size. Readability matters most here.

Contrast ratio
—

WCAG AA asks for 4.5:1 for body text and 3:1 for large text. AAA asks for 7:1 and 4.5:1.

Learn

How to read a hex code

A hex code like #1F7F7C is a recipe for mixing light. Once you know the pattern, you can glance at a code and roughly picture the color.

#1F7F7C
startredgreenblue

The three steps

  1. Split it into pairs. After the #, the six characters are three pairs: red, green, blue, always in that order.
  2. Each pair is a number from 00 to FF. 00 means none of that light. FF means all of it.
  3. The biggest pair wins. Whichever pair is highest is the color it leans toward. In #1F7F7C, green and blue are high and red is low, so it's teal.

Why letters?

"Hex" is short for hexadecimal, a way of counting in sixteens instead of tens. After 0–9 come six letters: A=10, B=11, C=12, D=13, E=14, F=15. So each pair can hold 16 × 16 = 256 values, from 0 to 255.

Example: 7F = 7 × 16 + 15 = 127, right in the middle.

Mix your own

Move the sliders and watch the code build itself.

#1F7F7C

Fun facts

16,777,216colors in total. That's 256 reds × 256 greens × 256 blues.
#FFFFFF is whiteScreens mix light, not paint. Turn all three lights on full and you get white, not muddy brown.
Matching pairs make grayWhen all three pairs are equal, like #808080, the color is a gray. #000000 is black.
Short codes#F0C is shorthand for #FF00CC. Each character is simply doubled.
The first character matters mostIn each pair, the first character does most of the work. #7F and #70 look almost the same; #7F and #FF don't.
Eight-digit codesSome apps add a fourth pair for see-through color: #1F7F7C80 is our teal at about half opacity.

Guess the color

Read the code, then tap the swatch you think it makes.

#