Skip to content
hexcolorcodepicker.com

Hex Color Codes Chart

Search the chart — 30 colors

Showing 30 of 30 colors.

SwatchNameHEXRGBHSL
Blackrgb(0, 0, 0)hsl(0, 0%, 0%)
Whitergb(255, 255, 255)hsl(0, 0%, 100%)
Redrgb(255, 0, 0)hsl(0, 100%, 50%)
Limergb(0, 255, 0)hsl(120, 100%, 50%)
Bluergb(0, 0, 255)hsl(240, 100%, 50%)
Yellowrgb(255, 255, 0)hsl(60, 100%, 50%)
Cyanrgb(0, 255, 255)hsl(180, 100%, 50%)
Magentargb(255, 0, 255)hsl(300, 100%, 50%)
Silverrgb(192, 192, 192)hsl(0, 0%, 75%)
Grayrgb(128, 128, 128)hsl(0, 0%, 50%)
Maroonrgb(128, 0, 0)hsl(0, 100%, 25%)
Olivergb(128, 128, 0)hsl(60, 100%, 25%)
Greenrgb(0, 128, 0)hsl(120, 100%, 25%)
Purplergb(128, 0, 128)hsl(300, 100%, 25%)
Tealrgb(0, 128, 128)hsl(180, 100%, 25%)
Navyrgb(0, 0, 128)hsl(240, 100%, 25%)
Orangergb(255, 165, 0)hsl(39, 100%, 50%)
Pinkrgb(255, 192, 203)hsl(350, 100%, 88%)
Goldrgb(255, 215, 0)hsl(51, 100%, 50%)
Brownrgb(165, 42, 42)hsl(0, 59%, 41%)
Coralrgb(255, 127, 80)hsl(16, 100%, 66%)
Skybluergb(135, 206, 235)hsl(197, 71%, 73%)
Blackrgb(0, 0, 0)hsl(0, 0%, 0%)
Dark grayrgb(51, 51, 51)hsl(0, 0%, 20%)
Medium-dark grayrgb(102, 102, 102)hsl(0, 0%, 40%)
Grayrgb(128, 128, 128)hsl(0, 0%, 50%)
Medium grayrgb(153, 153, 153)hsl(0, 0%, 60%)
Light grayrgb(204, 204, 204)hsl(0, 0%, 80%)
Very light grayrgb(238, 238, 238)hsl(0, 0%, 93%)
Whitergb(255, 255, 255)hsl(0, 0%, 100%)

Every HEX code in the chart was verified before it was listed. Tomato #FF6347 and rebeccapurple #663399 are searchable above — they are not chart rows.

Search the hex color codes chart: the 16 basic named colors, popular colors, and gray shades from black to white, each with its HEX, RGB, and HSL code.

What is the hex color codes chart?

The chart is a searchable reference table: every row is one named color with its HEX, RGB, and HSL codes. Find the color by name or by HEX code, click the HEX code to copy it, and paste it into CSS, Figma, or Canva. The chart is a lookup tool, not a picker — it answers "what is the HEX code for tomato" in one search.

The chart has 30 rows: the 16 basic named colors, 6 popular colors, and 8 gray shades. That is enough to cover the colors people actually search for, without the noise of a 148-color list that buries the common ones. The full 148 CSS named colors are a separate reference the site can add later.

Try the search — "tomato" finds a color that is not a chart row

Tomato (search result, not a chart row)

#FF6347 — rgb(255, 99, 71) — hsl(9, 100%, 64%)

Rebeccapurple (search result, not a chart row)

#663399 — rgb(102, 51, 153) — hsl(270, 50%, 40%)

Type "tomato" or "#FF6347" in the chart's search box above to find it, or type "rebeccapurple" for #663399.

The 16 basic named colors

The 16 basic named colors are the original VGA palette: black, white, red, lime, blue, yellow, cyan, magenta, silver, gray, maroon, olive, green, purple, teal, and navy. Every one of them has a fixed HEX code in CSS, so the same name always means the same color in every browser. The table below is the whole set — learn these 16 and you can read most color code references.

NameHEXRGB
Black#000000rgb(0, 0, 0)
White#FFFFFFrgb(255, 255, 255)
Red#FF0000rgb(255, 0, 0)
Lime#00FF00rgb(0, 255, 0)
Blue#0000FFrgb(0, 0, 255)
Yellow#FFFF00rgb(255, 255, 0)
Cyan#00FFFFrgb(0, 255, 255)
Magenta#FF00FFrgb(255, 0, 255)
Silver#C0C0C0rgb(192, 192, 192)
Gray#808080rgb(128, 128, 128)
Maroon#800000rgb(128, 0, 0)
Olive#808000rgb(128, 128, 0)
Green#008000rgb(0, 128, 0)
Purple#800080rgb(128, 0, 128)
Teal#008080rgb(0, 128, 128)
Navy#000080rgb(0, 0, 128)

The 16 basic colors as swatches — click one to copy its HEX code

Green vs lime and aqua vs cyan are grouped so you can compare them directly. Click a swatch to copy its code.

Three surprises in the basic colors

Green is #008000, not #00FF00 — the bright green is called lime. This is the most common surprise in the chart: people expect "green" to be the brightest green, but CSS green is a darker, calmer green at rgb(0, 128, 0), and the bright one at rgb(0, 255, 0) is lime. If your green looks dull, you probably wanted lime.

The other two surprises are pairs of names for the same color. Aqua is the same color as cyan, #00FFFF, and fuchsia is the same color as magenta, #FF00FF. Both names work in CSS and both give the identical HEX code, so use whichever name your team recognizes.

Surprise pairs, side by side

Green
#008000
vsLime
#00FF00
Aqua
#00FFFF
=Cyan
#00FFFF
Fuchsia
#FF00FF
=Magenta
#FF00FF

Gray shades from black to white

The gray rows run from black #000000 to white #FFFFFF in even steps, with no hue at all. A gray has equal red, green, and blue values, so its HEX code repeats the same pair three times — #333333 is rgb(51, 51, 51) and #CCCCCC is rgb(204, 204, 204). That pattern makes grays easy to read and easy to remember.

NameHEXRGB
Black#000000rgb(0, 0, 0)
Dark gray#333333rgb(51, 51, 51)
Medium-dark gray#666666rgb(102, 102, 102)
Gray#808080rgb(128, 128, 128)
Medium gray#999999rgb(153, 153, 153)
Light gray#CCCCCCrgb(204, 204, 204)
Very light gray#EEEEEErgb(238, 238, 238)
White#FFFFFFrgb(255, 255, 255)

Use grays for text, borders, and backgrounds: dark gray text on a white page is softer than pure black, and a light gray border divides sections without shouting. The chart's 8 gray steps cover the range most designs need.

Gray ramp — black to white in 8 steps

Black #000000Dark gray #333333Medium-dark gray #666666Gray #808080Medium gray #999999Light gray #CCCCCCVery light gray #EEEEEEWhite #FFFFFF

Every gray repeats the same hex pair three times, because red, green, and blue are equal.

How to use a HEX code from the chart

Click the HEX code to copy it, then paste it where the color belongs. In CSS, paste it as a value such as color: #FF6347; or background-color: #663399;. In Figma or Canva, paste it into the color field. In HTML, use it in a style attribute the same way. The copied code always includes the # sign.

If the exact color you need is not in the chart, use the color picker or the random color generator to find it, then copy its code from there. The chart is a reference for named colors; the picker tools cover every other color in the 16,777,216-color range.

Copy-and-paste demo — click a HEX code in the chart above

Last copied: nothing yet — try tomato #FF6347

This text wears the copied color.

Click any HEX code in the chart and this sample repaints in that color, so you can see it in use before you paste it.

All color tools

21 tools, one topic — see About Hex Color Code Picker for who built this site.

Frequently asked questions

Green is #008000, which is rgb(0, 128, 0). The bright green most people picture is lime, #00FF00. CSS green is darker than lime — if your green looks dull, you probably wanted lime #00FF00 instead.