Help Center
Using Colors 5 min read · Updated 2026-12-03

Color formats, contrast checks, and saved palettes in Colors

Copy colors as HEX, RGB, HSL, OKLCH, Tailwind, CSS, or SwiftUI, check text readability, and save or copy palettes into your project.

Colors copies every color in the exact format your project needs, tells you right away whether text on it will be readable, and keeps your picks and palettes saved on your Mac. This guide covers the Format picker, the contrast checks, History, and how to get palettes out of Colors.

Colors Studio window showing shades, readability contrast checks, and instant format copy buttons
Colors Studio with shade ladder, contrast check, and format pills

What you can skip

  • You don't need to convert anything by hand. Pick the format once and every copy uses it.
  • You don't need a contrast checker website. Ratios show up on the Color tab automatically.
  • Nothing is locked. All 7 formats, shades, history, and contrast tools are free.

1. The 7 color formats

Choose a format on the Color tab under Format, or press Space while the eyedropper lens is open. Here's the starter color Electric Mint in each one:

Format Example Good for
HEX #3DFBC9 Design tools, most web code
RGB rgb(61, 251, 201) CSS, older tools
HSL hsl(164, 96%, 61%) Quick hand-tweaking in CSS
OKLCH oklch(88.5% 0.162 170.2) Modern CSS with even-looking lightness
Tailwind bg-[#3DFBC9] or a class like emerald-500 Tailwind projects
CSS --color-electric-mint: #3DFBC9; Dropping a named variable into a stylesheet
SwiftUI Color(red: 0.239, green: 0.984, blue: 0.788) Apple app projects

A few details worth knowing:

  • Tailwind gives you the nearest built-in Tailwind color name when it's a close match. Otherwise it gives you an exact bg-[#HEX] value so nothing shifts.
  • CSS names the variable after the color's name, so a color called "Electric Mint" becomes --color-electric-mint.
  • Uppercase HEX is on by default. Turn off Uppercase HEX (#3DFBC9) in Preferences… if you prefer #3dfbc9.

To copy the active color, click its copy button or press Command + C in the Studio. To type a color in, double-click the HEX value on the Color tab and enter it.

2. Contrast checking

On the Color tab

Every color shows 2 badges right on the main card: how readable it is against White and against Dark (a near-black #0E1015). Each badge shows the ratio, like 14.4:1, and a grade:

Grade Ratio What it means
AAA 7:1 or higher Easy to read at any size
AA 4.5:1 or higher The usual target for body text
AA Large 3:1 or higher OK for big headings and bold labels only
Fail Below 3:1 Hard to read, so pick a different pairing

Comparing any two colors

The History tab has a Contrast Pair Check that compares 2 saved colors, for example #0E1015 on #3DFBC9, with an exact ratio like 14.35:1 and a grade. To choose the pair, open a color's menu in History and click Set as Contrast Color A or Set as Contrast Color B.

3. Shades and variants

The Shades (50–950) row gives you 11 steps from very light (50) to very dark (950), all in the same hue.

  • Click a shade to copy it.
  • Option-click a shade to load it as the active color.

Use the Hue, Saturation, and Lightness sliders under Adjust to fine-tune. Click Save Variant to save your tweak to History (it's also copied), or Reset to go back to the original pick.

4. History and starred favorites

Colors History tab listing saved picks and starred favorites ready to copy
Saved color history and starred favorites

Every pick lands at the top of History. Picking the same color again moves it back to the top instead of making a duplicate.

Control What it does
Search color or name… Filter by HEX value or color name
Pinned Show only starred colors
Star icon Star or unstar a color so it's always kept
Copy icon Copy in your current format
Delete icon Remove it. Click Undo if you change your mind
Clear Unpinned Remove everything that isn't starred
Row menu Set as Contrast Color A/B, Build AI Palette, Edit in Color Studio

History holds up to 200 colors, and starred ones are never trimmed. It's all saved on your Mac and survives restarts and updates.

5. Saving and copying palettes

Palettes come from AI Studio (see AI Palette Studio). Each new palette is saved automatically under Saved Palettes, up to 60. Click one to bring it back or delete the ones you don't need.

To use a palette in a project, copy it with one of these buttons:

Button Pastes as
Copy CSS :root variables for light mode plus a [data-theme="dark"] block, with font variables
Tailwind A Tailwind @theme block with colors and fonts
Copy Design-Token Prompt A full note for Claude Code, Codex, or Antigravity with fonts, CSS, and readability rules

You can also click any single swatch in the palette to copy just that HEX value.

Troubleshooting

If you see Try this
Tailwind gives bg-[#...] instead of a class name That's on purpose. No Tailwind color is close enough, so you get the exact value
An old pick is missing from History It was unstarred and History passed 200 colors. Star colors you want to keep
You deleted a color by accident Click Undo right away in the History tab
Contrast says Fail Try a darker or lighter step from Shades (50–950)

More help: Troubleshooting and FAQ.

Frequently Asked Questions

Which color formats does Colors support?

Seven: HEX, RGB, HSL, OKLCH, Tailwind, CSS custom property, and SwiftUI. All of them are free.

What do AAA, AA, AA Large, and Fail mean?

They're readability grades for text on a background. AAA is 7:1 or higher, AA is 4.5:1 or higher (the usual target for body text), AA Large is 3:1 or higher (fine for big headings), and anything lower is Fail.

How many colors does History keep?

Up to 200. Starred colors are always kept, and the oldest unstarred picks drop off first once you go past the limit.

Can I export a palette as a file?

Colors copies palettes to your clipboard instead of saving files. Use Copy CSS, Tailwind, or Copy Design-Token Prompt in AI Studio and paste the result into your project.

Helpful?
Colors
Ready to try it or check your settings?

More Colors guides