Color Code Converter & Chart

Enter any color code and convert between HEX, RGB, CMYK, HSL and HSV instantly, then click to copy. Below are 99 popular color codes — gold, rose gold, pastels, muted Morandi tones and more — for designs, decks and brand guides.

Text contrast

Higher is easier to read: body text needs at least 4.5 (AA), large headings at least 3.

Tints, shades and harmonies

Color code chart

Click a swatch to copy its HEX code and load it into the converter above.

Reds

Oranges

Yellows

Greens

Blues

Purples

Pinks

Browns

Black, white & gray

Metallics

Morandi

Pastels

How to use

Three steps to the code you need.

Enter or pick a color

Paste a code in any format, type a color name, or use the color picker or screen eyedropper (Chrome, Edge).

Copy the format you need

HEX or RGB for the web, CMYK for print, HSL for adjusting lightness. Every row has a copy button.

Explore related colors

Click tints, shades and complementary colors to use them, or send the color to the palette generator for a full scheme.

FAQ

Found a bug, something awkward, or want a new feature? Let me know.

How do I convert HEX to RGB?

Each pair of HEX digits is a base-16 number for red, green and blue. #3B5FAE is 3B = 59, 5F = 95, AE = 174, so rgb(59, 95, 174). Paste it above to convert automatically.

How do I convert RGB to CMYK?

K = 1 − max ÷ 255, then C, M, Y = (1 − value ÷ 255 − K) ÷ (1 − K). The tool does this for you, but always confirm print colors with your printer.

Can I look up a color by name?

Yes. Type names like gold, sage or Tiffany-style robin egg blue, or search the chart below.

How does the screen eyedropper work?

In Chrome or Edge, press “Pick from screen” and click anywhere on your screen, even in another window. Safari and Firefox don’t support it yet.

What do AA and AAA mean?

They’re WCAG accessibility levels. Body text needs a contrast ratio of 4.5 for AA and 7 for AAA; large headings need 3.

Is anything uploaded?

No. Everything is calculated in your browser.

You might also like