CSS colour names — all 148 keywords with HEX, RGB and HSL

Every colour keyword CSS understands, shown as swatches with its HEX, RGB and HSL values; filter by name or HEX and sort alphabetically, by hue or by lightness.

Live demo · real result from this tool
Showing148 named colours

Colours

Table

NameHEXRGBHSL
aliceblue#f0f8ffrgb(240, 248, 255)hsl(208, 100%, 97.1%)
antiquewhite#faebd7rgb(250, 235, 215)hsl(34.3, 77.8%, 91.2%)
aqua#00ffffrgb(0, 255, 255)hsl(180, 100%, 50%)
aquamarine#7fffd4rgb(127, 255, 212)hsl(159.8, 100%, 74.9%)
azure#f0ffffrgb(240, 255, 255)hsl(180, 100%, 97.1%)
beige#f5f5dcrgb(245, 245, 220)hsl(60, 55.6%, 91.2%)
bisque#ffe4c4rgb(255, 228, 196)hsl(32.5, 100%, 88.4%)
black#000000rgb(0, 0, 0)hsl(0, 0%, 0%)
blanchedalmond#ffebcdrgb(255, 235, 205)hsl(36, 100%, 90.2%)
blue#0000ffrgb(0, 0, 255)hsl(240, 100%, 50%)
blueviolet#8a2be2rgb(138, 43, 226)hsl(271.1, 75.9%, 52.7%)
brown#a52a2argb(165, 42, 42)hsl(0, 59.4%, 40.6%)
burlywood#deb887rgb(222, 184, 135)hsl(33.8, 56.9%, 70%)
cadetblue#5f9ea0rgb(95, 158, 160)hsl(181.8, 25.5%, 50%)
chartreuse#7fff00rgb(127, 255, 0)hsl(90.1, 100%, 50%)
chocolate#d2691ergb(210, 105, 30)hsl(25, 75%, 47.1%)
coral#ff7f50rgb(255, 127, 80)hsl(16.1, 100%, 65.7%)
cornflowerblue#6495edrgb(100, 149, 237)hsl(218.5, 79.2%, 66.1%)
cornsilk#fff8dcrgb(255, 248, 220)hsl(48, 100%, 93.1%)
crimson#dc143crgb(220, 20, 60)hsl(348, 83.3%, 47.1%)
cyan#00ffffrgb(0, 255, 255)hsl(180, 100%, 50%)
darkblue#00008brgb(0, 0, 139)hsl(240, 100%, 27.3%)
darkcyan#008b8brgb(0, 139, 139)hsl(180, 100%, 27.3%)
darkgoldenrod#b8860brgb(184, 134, 11)hsl(42.7, 88.7%, 38.2%)
darkgray#a9a9a9rgb(169, 169, 169)hsl(0, 0%, 66.3%)
darkgreen#006400rgb(0, 100, 0)hsl(120, 100%, 19.6%)
darkgrey#a9a9a9rgb(169, 169, 169)hsl(0, 0%, 66.3%)
darkkhaki#bdb76brgb(189, 183, 107)hsl(55.6, 38.3%, 58%)
darkmagenta#8b008brgb(139, 0, 139)hsl(300, 100%, 27.3%)
darkolivegreen#556b2frgb(85, 107, 47)hsl(82, 39%, 30.2%)
darkorange#ff8c00rgb(255, 140, 0)hsl(32.9, 100%, 50%)
darkorchid#9932ccrgb(153, 50, 204)hsl(280.1, 60.6%, 49.8%)
darkred#8b0000rgb(139, 0, 0)hsl(0, 100%, 27.3%)
darksalmon#e9967argb(233, 150, 122)hsl(15.1, 71.6%, 69.6%)
darkseagreen#8fbc8frgb(143, 188, 143)hsl(120, 25.1%, 64.9%)
darkslateblue#483d8brgb(72, 61, 139)hsl(248.5, 39%, 39.2%)
darkslategray#2f4f4frgb(47, 79, 79)hsl(180, 25.4%, 24.7%)
darkslategrey#2f4f4frgb(47, 79, 79)hsl(180, 25.4%, 24.7%)
darkturquoise#00ced1rgb(0, 206, 209)hsl(180.9, 100%, 41%)
darkviolet#9400d3rgb(148, 0, 211)hsl(282.1, 100%, 41.4%)
deeppink#ff1493rgb(255, 20, 147)hsl(327.6, 100%, 53.9%)
deepskyblue#00bfffrgb(0, 191, 255)hsl(195.1, 100%, 50%)
dimgray#696969rgb(105, 105, 105)hsl(0, 0%, 41.2%)
dimgrey#696969rgb(105, 105, 105)hsl(0, 0%, 41.2%)
dodgerblue#1e90ffrgb(30, 144, 255)hsl(209.6, 100%, 55.9%)
firebrick#b22222rgb(178, 34, 34)hsl(0, 67.9%, 41.6%)
floralwhite#fffaf0rgb(255, 250, 240)hsl(40, 100%, 97.1%)
forestgreen#228b22rgb(34, 139, 34)hsl(120, 60.7%, 33.9%)
fuchsia#ff00ffrgb(255, 0, 255)hsl(300, 100%, 50%)
gainsboro#dcdcdcrgb(220, 220, 220)hsl(0, 0%, 86.3%)
ghostwhite#f8f8ffrgb(248, 248, 255)hsl(240, 100%, 98.6%)
gold#ffd700rgb(255, 215, 0)hsl(50.6, 100%, 50%)
goldenrod#daa520rgb(218, 165, 32)hsl(42.9, 74.4%, 49%)
gray#808080rgb(128, 128, 128)hsl(0, 0%, 50.2%)
green#008000rgb(0, 128, 0)hsl(120, 100%, 25.1%)
greenyellow#adff2frgb(173, 255, 47)hsl(83.7, 100%, 59.2%)
grey#808080rgb(128, 128, 128)hsl(0, 0%, 50.2%)
honeydew#f0fff0rgb(240, 255, 240)hsl(120, 100%, 97.1%)
hotpink#ff69b4rgb(255, 105, 180)hsl(330, 100%, 70.6%)
indianred#cd5c5crgb(205, 92, 92)hsl(0, 53.1%, 58.2%)
indigo#4b0082rgb(75, 0, 130)hsl(274.6, 100%, 25.5%)
ivory#fffff0rgb(255, 255, 240)hsl(60, 100%, 97.1%)
khaki#f0e68crgb(240, 230, 140)hsl(54, 76.9%, 74.5%)
lavender#e6e6fargb(230, 230, 250)hsl(240, 66.7%, 94.1%)
lavenderblush#fff0f5rgb(255, 240, 245)hsl(340, 100%, 97.1%)
lawngreen#7cfc00rgb(124, 252, 0)hsl(90.5, 100%, 49.4%)
lemonchiffon#fffacdrgb(255, 250, 205)hsl(54, 100%, 90.2%)
lightblue#add8e6rgb(173, 216, 230)hsl(194.7, 53.3%, 79%)
lightcoral#f08080rgb(240, 128, 128)hsl(0, 78.9%, 72.2%)
lightcyan#e0ffffrgb(224, 255, 255)hsl(180, 100%, 93.9%)
lightgoldenrodyellow#fafad2rgb(250, 250, 210)hsl(60, 80%, 90.2%)
lightgray#d3d3d3rgb(211, 211, 211)hsl(0, 0%, 82.7%)
lightgreen#90ee90rgb(144, 238, 144)hsl(120, 73.4%, 74.9%)
lightgrey#d3d3d3rgb(211, 211, 211)hsl(0, 0%, 82.7%)
lightpink#ffb6c1rgb(255, 182, 193)hsl(351, 100%, 85.7%)
lightsalmon#ffa07argb(255, 160, 122)hsl(17.1, 100%, 73.9%)
lightseagreen#20b2aargb(32, 178, 170)hsl(176.7, 69.5%, 41.2%)
lightskyblue#87cefargb(135, 206, 250)hsl(203, 92%, 75.5%)
lightslategray#778899rgb(119, 136, 153)hsl(210, 14.3%, 53.3%)
lightslategrey#778899rgb(119, 136, 153)hsl(210, 14.3%, 53.3%)
lightsteelblue#b0c4dergb(176, 196, 222)hsl(213.9, 41.1%, 78%)
lightyellow#ffffe0rgb(255, 255, 224)hsl(60, 100%, 93.9%)
lime#00ff00rgb(0, 255, 0)hsl(120, 100%, 50%)
limegreen#32cd32rgb(50, 205, 50)hsl(120, 60.8%, 50%)
linen#faf0e6rgb(250, 240, 230)hsl(30, 66.7%, 94.1%)
magenta#ff00ffrgb(255, 0, 255)hsl(300, 100%, 50%)
maroon#800000rgb(128, 0, 0)hsl(0, 100%, 25.1%)
mediumaquamarine#66cdaargb(102, 205, 170)hsl(159.6, 50.7%, 60.2%)
mediumblue#0000cdrgb(0, 0, 205)hsl(240, 100%, 40.2%)
mediumorchid#ba55d3rgb(186, 85, 211)hsl(288.1, 58.9%, 58%)
mediumpurple#9370dbrgb(147, 112, 219)hsl(259.6, 59.8%, 64.9%)
mediumseagreen#3cb371rgb(60, 179, 113)hsl(146.7, 49.8%, 46.9%)
mediumslateblue#7b68eergb(123, 104, 238)hsl(248.5, 79.8%, 67.1%)
mediumspringgreen#00fa9argb(0, 250, 154)hsl(157, 100%, 49%)
mediumturquoise#48d1ccrgb(72, 209, 204)hsl(177.8, 59.8%, 55.1%)
mediumvioletred#c71585rgb(199, 21, 133)hsl(322.2, 80.9%, 43.1%)
midnightblue#191970rgb(25, 25, 112)hsl(240, 63.5%, 26.9%)
mintcream#f5fffargb(245, 255, 250)hsl(150, 100%, 98%)
mistyrose#ffe4e1rgb(255, 228, 225)hsl(6, 100%, 94.1%)
moccasin#ffe4b5rgb(255, 228, 181)hsl(38.1, 100%, 85.5%)
navajowhite#ffdeadrgb(255, 222, 173)hsl(35.9, 100%, 83.9%)
navy#000080rgb(0, 0, 128)hsl(240, 100%, 25.1%)
oldlace#fdf5e6rgb(253, 245, 230)hsl(39.1, 85.2%, 94.7%)
olive#808000rgb(128, 128, 0)hsl(60, 100%, 25.1%)
olivedrab#6b8e23rgb(107, 142, 35)hsl(79.6, 60.5%, 34.7%)
orange#ffa500rgb(255, 165, 0)hsl(38.8, 100%, 50%)
orangered#ff4500rgb(255, 69, 0)hsl(16.2, 100%, 50%)
orchid#da70d6rgb(218, 112, 214)hsl(302.3, 58.9%, 64.7%)
palegoldenrod#eee8aargb(238, 232, 170)hsl(54.7, 66.7%, 80%)
palegreen#98fb98rgb(152, 251, 152)hsl(120, 92.5%, 79%)
paleturquoise#afeeeergb(175, 238, 238)hsl(180, 64.9%, 81%)
palevioletred#db7093rgb(219, 112, 147)hsl(340.4, 59.8%, 64.9%)
papayawhip#ffefd5rgb(255, 239, 213)hsl(37.1, 100%, 91.8%)
peachpuff#ffdab9rgb(255, 218, 185)hsl(28.3, 100%, 86.3%)
peru#cd853frgb(205, 133, 63)hsl(29.6, 58.7%, 52.5%)
pink#ffc0cbrgb(255, 192, 203)hsl(349.5, 100%, 87.6%)
plum#dda0ddrgb(221, 160, 221)hsl(300, 47.3%, 74.7%)
powderblue#b0e0e6rgb(176, 224, 230)hsl(186.7, 51.9%, 79.6%)
purple#800080rgb(128, 0, 128)hsl(300, 100%, 25.1%)
rebeccapurple#663399rgb(102, 51, 153)hsl(270, 50%, 40%)
red#ff0000rgb(255, 0, 0)hsl(0, 100%, 50%)
rosybrown#bc8f8frgb(188, 143, 143)hsl(0, 25.1%, 64.9%)
royalblue#4169e1rgb(65, 105, 225)hsl(225, 72.7%, 56.9%)
saddlebrown#8b4513rgb(139, 69, 19)hsl(25, 75.9%, 31%)
salmon#fa8072rgb(250, 128, 114)hsl(6.2, 93.2%, 71.4%)
sandybrown#f4a460rgb(244, 164, 96)hsl(27.6, 87.1%, 66.7%)
seagreen#2e8b57rgb(46, 139, 87)hsl(146.5, 50.3%, 36.3%)
seashell#fff5eergb(255, 245, 238)hsl(24.7, 100%, 96.7%)
sienna#a0522drgb(160, 82, 45)hsl(19.3, 56.1%, 40.2%)
silver#c0c0c0rgb(192, 192, 192)hsl(0, 0%, 75.3%)
skyblue#87ceebrgb(135, 206, 235)hsl(197.4, 71.4%, 72.5%)
slateblue#6a5acdrgb(106, 90, 205)hsl(248.3, 53.5%, 57.8%)
slategray#708090rgb(112, 128, 144)hsl(210, 12.6%, 50.2%)
slategrey#708090rgb(112, 128, 144)hsl(210, 12.6%, 50.2%)
snow#fffafargb(255, 250, 250)hsl(0, 100%, 99%)
springgreen#00ff7frgb(0, 255, 127)hsl(149.9, 100%, 50%)
steelblue#4682b4rgb(70, 130, 180)hsl(207.3, 44%, 49%)
tan#d2b48crgb(210, 180, 140)hsl(34.3, 43.8%, 68.6%)
teal#008080rgb(0, 128, 128)hsl(180, 100%, 25.1%)
thistle#d8bfd8rgb(216, 191, 216)hsl(300, 24.3%, 79.8%)
tomato#ff6347rgb(255, 99, 71)hsl(9.1, 100%, 63.9%)
turquoise#40e0d0rgb(64, 224, 208)hsl(174, 72.1%, 56.5%)
violet#ee82eergb(238, 130, 238)hsl(300, 76.1%, 72.2%)
wheat#f5deb3rgb(245, 222, 179)hsl(39.1, 76.7%, 83.1%)
white#ffffffrgb(255, 255, 255)hsl(0, 0%, 100%)
whitesmoke#f5f5f5rgb(245, 245, 245)hsl(0, 0%, 96.1%)
yellow#ffff00rgb(255, 255, 0)hsl(60, 100%, 50%)
yellowgreen#9acd32rgb(154, 205, 50)hsl(79.7, 60.8%, 50%)

148 rows — scroll inside the table, or download the CSV.

CSS has 148 colour keywords. Seven greys have both spellings (gray/grey, darkgray/darkgrey …), and aqua = cyan, fuchsia = magenta. Source: CSS Color Module Level 4.

Processed on your device — nothing is uploaded.

How to use the CSS colour names reference

  1. Leave Filter empty to see all 148 names, or type part of a name such as blue, rose or slate.
  2. To find names by value, type a HEX start such as #ff or 00.
  3. Choose an Order: Alphabetical, By hue or By lightness.
  4. Click a swatch or copy a row from the table. Download the table as css-named-colors.csv for a spreadsheet.

What it does and when to use it

CSS named colours are quick to type and easy to read in code: color: tomato says more than color: #ff6347. This reference lists them all with their exact values, so you can pick one for a prototype, check what a name in someone else’s stylesheet really is, or teach colour in CSS.

Sorting helps you see the set in a new way. Alphabetical order is best for looking up a name. By hue groups the reds, greens and blues together, with greys first. By lightness lines the colours up from dark to light, which is handy when you need a pale background or a deep text colour from the named set.

To go the other way and find the closest name for any colour, use the colour name finder. To mix two named colours in CSS, try the CSS color-mix() generator, and for every notation of one colour use the colour converter.

How it works

The list is the named-colour table from CSS Color Module Level 4. The filter removes spaces from your text and keeps any name that contains it, or any value whose HEX code contains it after a # is added. By hue sorts by HSL hue and then lightness. By lightness sorts by HSL lightness, then hue. HSL values in the table are rounded to one decimal place.

Worked examples

These are the reference’s own results.

Filter “slate”. Showing: 9 named colours, including darkslateblue (#483d8b), slateblue (#6a5acd) and slategray (#708090). Three of the nine are gray and grey spellings of the same value.

Filter “#ff”, order by lightness. Showing: 31 named colours. The list starts with the fully saturated red, orangered, darkorange, orange, gold and yellow, all at 50% HSL lightness, and ends with snow (#fffafa) and white.

The gray family. dimgray #696969, gray #808080, darkgray #a9a9a9, lightgray #d3d3d3. Despite its name, darkgray is the lighter of the middle two.

Limits and tips

  • Names do not follow a system; “dark” and “light” prefixes are not even steps.
  • HSL lightness is not perceived brightness. Yellow and blue both show 50%, but yellow looks far lighter.
  • The list is built into the page and filtered in your browser.

Frequently asked questions

How many named colours does CSS have?
148 colour keywords, all listed here. The count includes pairs that share a value, such as gray and grey. CSS also has transparent and currentColor, which are keywords but not fixed colours, so they are not in the list.
Why is darkgray lighter than gray?
It is a historical quirk. The names came from an older X11 colour list, where darkgray is
Can I search by HEX code?
Yes. Type the start of a HEX value, with or without
Are named colours safe to use in production CSS?
Yes, all current browsers support them. For a design system, HEX or OKLCH values are usually easier to adjust and keep consistent, but names are fine for prototypes, demos and teaching.
What is rebeccapurple?
It is #663399, added to CSS in memory of Rebecca Meyer, the daughter of CSS author Eric Meyer. It is the newest of the named colours.

Sources

  1. CSS Color Module Level 4 — named colors — W3C, accessed 2026-10-08

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close