svgnames colour reference
All 151 colour names the xcolorpackage makes available under its svgnamesoption, with the rgb triple xcolor defines and its hex equivalent.
Using them
Load xcolor with the svgnames option:
\usepackage[svgnames]{xcolor}
\textcolor{DarkOliveGreen}{This text is dark olive green.}
\colorbox{MistyRose}{Text on a misty rose background.}
{\color{SteelBlue} A colour switch until the group ends.}Capitalisation matters. LaTeX colour names are case-sensitive: DarkOliveGreen works,darkolivegreen is an undefined colour and an error. The names below are written exactly as xcolor defines them.
These names come from the SVG 1.1 specification — the same set CSS exposes as its named colours. Note that svgnames is one of several name sets xcolor offers (dvipsnames,x11names and others are separate options, with different names and in some cases different colours for the same word).
Where these values come from
Extracted directly from svgnam.def as shipped in TeX Live 2025 (xcolor v3.02, dated 2024/09/29) — not transcribed by hand. The rgb triples are xcolor's own; the hex column is those triples rounded to 8 bits per channel. As a check, 147 of the 151 names round-trip to the SVG 1.1 / CSS hex value exactly, with no discrepancies.
Names beyond the CSS set
xcolor's svgnames list is almostthe CSS named-colour set, but not exactly: these 4 names are defined by xcolor and are not CSS colour keywords. They work in LaTeX and will fail if you paste them into a stylesheet.
LightGoldenrod#EEDD82LightSlateBlue#8470FFNavyBlue#000080VioletRed#D02090All 151 colours
AliceBlue#F0F8FFAntiqueWhite#FAEBD7Aqua#00FFFFAquamarine#7FFFD4Azure#F0FFFFBeige#F5F5DCBisque#FFE4C4Black#000000BlanchedAlmond#FFEBCDBlue#0000FFBlueViolet#8A2BE2Brown#A52A2ABurlyWood#DEB887CadetBlue#5F9EA0Chartreuse#7FFF00Chocolate#D2691ECoral#FF7F50CornflowerBlue#6495EDCornsilk#FFF8DCCrimson#DC143CCyan#00FFFFDarkBlue#00008BDarkCyan#008B8BDarkGoldenrod#B8860BDarkGray#A9A9A9DarkGreen#006400DarkGrey#A9A9A9DarkKhaki#BDB76BDarkMagenta#8B008BDarkOliveGreen#556B2FDarkOrange#FF8C00DarkOrchid#9932CCDarkRed#8B0000DarkSalmon#E9967ADarkSeaGreen#8FBC8FDarkSlateBlue#483D8BDarkSlateGray#2F4F4FDarkSlateGrey#2F4F4FDarkTurquoise#00CED1DarkViolet#9400D3DeepPink#FF1493DeepSkyBlue#00BFFFDimGray#696969DimGrey#696969DodgerBlue#1E90FFFireBrick#B22222FloralWhite#FFFAF0ForestGreen#228B22Fuchsia#FF00FFGainsboro#DCDCDCGhostWhite#F8F8FFGold#FFD700Goldenrod#DAA520Gray#808080Green#008000GreenYellow#ADFF2FGrey#808080Honeydew#F0FFF0HotPink#FF69B4IndianRed#CD5C5CIndigo#4B0082Ivory#FFFFF0Khaki#F0E68CLavender#E6E6FALavenderBlush#FFF0F5LawnGreen#7CFC00LemonChiffon#FFFACDLightBlue#ADD8E6LightCoral#F08080LightCyan#E0FFFFLightGoldenrod#EEDD82LightGoldenrodYellow#FAFAD2LightGray#D3D3D3LightGreen#90EE90LightGrey#D3D3D3LightPink#FFB6C1LightSalmon#FFA07ALightSeaGreen#20B2AALightSkyBlue#87CEFALightSlateBlue#8470FFLightSlateGray#778899LightSlateGrey#778899LightSteelBlue#B0C4DELightYellow#FFFFE0Lime#00FF00LimeGreen#32CD32Linen#FAF0E6Magenta#FF00FFMaroon#800000MediumAquamarine#66CDAAMediumBlue#0000CDMediumOrchid#BA55D3MediumPurple#9370DBMediumSeaGreen#3CB371MediumSlateBlue#7B68EEMediumSpringGreen#00FA9AMediumTurquoise#48D1CCMediumVioletRed#C71585MidnightBlue#191970MintCream#F5FFFAMistyRose#FFE4E1Moccasin#FFE4B5NavajoWhite#FFDEADNavy#000080NavyBlue#000080OldLace#FDF5E6Olive#808000OliveDrab#6B8E23Orange#FFA500OrangeRed#FF4500Orchid#DA70D6PaleGoldenrod#EEE8AAPaleGreen#98FB98PaleTurquoise#AFEEEEPaleVioletRed#DB7093PapayaWhip#FFEFD5PeachPuff#FFDAB9Peru#CD853FPink#FFC0CBPlum#DDA0DDPowderBlue#B0E0E6Purple#800080Red#FF0000RosyBrown#BC8F8FRoyalBlue#4169E1SaddleBrown#8B4513Salmon#FA8072SandyBrown#F4A460SeaGreen#2E8B57Seashell#FFF5EESienna#A0522DSilver#C0C0C0SkyBlue#87CEEBSlateBlue#6A5ACDSlateGray#708090SlateGrey#708090Snow#FFFAFASpringGreen#00FF7FSteelBlue#4682B4Tan#D2B48CTeal#008080Thistle#D8BFD8Tomato#FF6347Turquoise#40E0D0Violet#EE82EEVioletRed#D02090Wheat#F5DEB3White#FFFFFFWhiteSmoke#F5F5F5Yellow#FFFF00YellowGreen#9ACD32Definitions as xcolor states them
The rgb triples below are what svgnam.defactually contains. Use these if you need to reproduce a colour precisely in LaTeX — the hex above is a rounding of them, not the other way round.
| Name | xcolor rgb | Hex |
|---|---|---|
| AliceBlue | .94,.972,1 | #F0F8FF |
| AntiqueWhite | .98,.92,.844 | #FAEBD7 |
| Aqua | 0,1,1 | #00FFFF |
| Aquamarine | .498,1,.83 | #7FFFD4 |
| Azure | .94,1,1 | #F0FFFF |
| Beige | .96,.96,.864 | #F5F5DC |
| Bisque | 1,.894,.77 | #FFE4C4 |
| Black | 0,0,0 | #000000 |
| BlanchedAlmond | 1,.92,.804 | #FFEBCD |
| Blue | 0,0,1 | #0000FF |
| BlueViolet | .54,.17,.888 | #8A2BE2 |
| Brown | .648,.165,.165 | #A52A2A |
| BurlyWood | .87,.72,.53 | #DEB887 |
| CadetBlue | .372,.62,.628 | #5F9EA0 |
| Chartreuse | .498,1,0 | #7FFF00 |
| Chocolate | .824,.41,.116 | #D2691E |
| Coral | 1,.498,.312 | #FF7F50 |
| CornflowerBlue | .392,.585,.93 | #6495ED |
| Cornsilk | 1,.972,.864 | #FFF8DC |
| Crimson | .864,.08,.235 | #DC143C |
| Cyan | 0,1,1 | #00FFFF |
| DarkBlue | 0,0,.545 | #00008B |
| DarkCyan | 0,.545,.545 | #008B8B |
| DarkGoldenrod | .72,.525,.044 | #B8860B |
| DarkGray | .664,.664,.664 | #A9A9A9 |
| DarkGreen | 0,.392,0 | #006400 |
| DarkGrey | .664,.664,.664 | #A9A9A9 |
| DarkKhaki | .74,.716,.42 | #BDB76B |
| DarkMagenta | .545,0,.545 | #8B008B |
| DarkOliveGreen | .332,.42,.185 | #556B2F |
| DarkOrange | 1,.55,0 | #FF8C00 |
| DarkOrchid | .6,.196,.8 | #9932CC |
| DarkRed | .545,0,0 | #8B0000 |
| DarkSalmon | .912,.59,.48 | #E9967A |
| DarkSeaGreen | .56,.736,.56 | #8FBC8F |
| DarkSlateBlue | .284,.24,.545 | #483D8B |
| DarkSlateGray | .185,.31,.31 | #2F4F4F |
| DarkSlateGrey | .185,.31,.31 | #2F4F4F |
| DarkTurquoise | 0,.808,.82 | #00CED1 |
| DarkViolet | .58,0,.828 | #9400D3 |
| DeepPink | 1,.08,.576 | #FF1493 |
| DeepSkyBlue | 0,.75,1 | #00BFFF |
| DimGray | .41,.41,.41 | #696969 |
| DimGrey | .41,.41,.41 | #696969 |
| DodgerBlue | .116,.565,1 | #1E90FF |
| FireBrick | .698,.132,.132 | #B22222 |
| FloralWhite | 1,.98,.94 | #FFFAF0 |
| ForestGreen | .132,.545,.132 | #228B22 |
| Fuchsia | 1,0,1 | #FF00FF |
| Gainsboro | .864,.864,.864 | #DCDCDC |
| GhostWhite | .972,.972,1 | #F8F8FF |
| Gold | 1,.844,0 | #FFD700 |
| Goldenrod | .855,.648,.125 | #DAA520 |
| Gray | .5,.5,.5 | #808080 |
| Green | 0,.5,0 | #008000 |
| GreenYellow | .68,1,.185 | #ADFF2F |
| Grey | .5,.5,.5 | #808080 |
| Honeydew | .94,1,.94 | #F0FFF0 |
| HotPink | 1,.41,.705 | #FF69B4 |
| IndianRed | .804,.36,.36 | #CD5C5C |
| Indigo | .294,0,.51 | #4B0082 |
| Ivory | 1,1,.94 | #FFFFF0 |
| Khaki | .94,.9,.55 | #F0E68C |
| Lavender | .9,.9,.98 | #E6E6FA |
| LavenderBlush | 1,.94,.96 | #FFF0F5 |
| LawnGreen | .488,.99,0 | #7CFC00 |
| LemonChiffon | 1,.98,.804 | #FFFACD |
| LightBlue | .68,.848,.9 | #ADD8E6 |
| LightCoral | .94,.5,.5 | #F08080 |
| LightCyan | .88,1,1 | #E0FFFF |
| LightGoldenrodnot in CSS | .933,.867,.51 | #EEDD82 |
| LightGoldenrodYellow | .98,.98,.824 | #FAFAD2 |
| LightGray | .828,.828,.828 | #D3D3D3 |
| LightGreen | .565,.932,.565 | #90EE90 |
| LightGrey | .828,.828,.828 | #D3D3D3 |
| LightPink | 1,.712,.756 | #FFB6C1 |
| LightSalmon | 1,.628,.48 | #FFA07A |
| LightSeaGreen | .125,.698,.668 | #20B2AA |
| LightSkyBlue | .53,.808,.98 | #87CEFA |
| LightSlateBluenot in CSS | .518,.44,1 | #8470FF |
| LightSlateGray | .468,.532,.6 | #778899 |
| LightSlateGrey | .468,.532,.6 | #778899 |
| LightSteelBlue | .69,.77,.87 | #B0C4DE |
| LightYellow | 1,1,.88 | #FFFFE0 |
| Lime | 0,1,0 | #00FF00 |
| LimeGreen | .196,.804,.196 | #32CD32 |
| Linen | .98,.94,.9 | #FAF0E6 |
| Magenta | 1,0,1 | #FF00FF |
| Maroon | .5,0,0 | #800000 |
| MediumAquamarine | .4,.804,.668 | #66CDAA |
| MediumBlue | 0,0,.804 | #0000CD |
| MediumOrchid | .73,.332,.828 | #BA55D3 |
| MediumPurple | .576,.44,.86 | #9370DB |
| MediumSeaGreen | .235,.7,.444 | #3CB371 |
| MediumSlateBlue | .484,.408,.932 | #7B68EE |
| MediumSpringGreen | 0,.98,.604 | #00FA9A |
| MediumTurquoise | .284,.82,.8 | #48D1CC |
| MediumVioletRed | .78,.084,.52 | #C71585 |
| MidnightBlue | .098,.098,.44 | #191970 |
| MintCream | .96,1,.98 | #F5FFFA |
| MistyRose | 1,.894,.884 | #FFE4E1 |
| Moccasin | 1,.894,.71 | #FFE4B5 |
| NavajoWhite | 1,.87,.68 | #FFDEAD |
| Navy | 0,0,.5 | #000080 |
| NavyBluenot in CSS | 0,0,.5 | #000080 |
| OldLace | .992,.96,.9 | #FDF5E6 |
| Olive | .5,.5,0 | #808000 |
| OliveDrab | .42,.556,.136 | #6B8E23 |
| Orange | 1,.648,0 | #FFA500 |
| OrangeRed | 1,.27,0 | #FF4500 |
| Orchid | .855,.44,.84 | #DA70D6 |
| PaleGoldenrod | .932,.91,.668 | #EEE8AA |
| PaleGreen | .596,.985,.596 | #98FB98 |
| PaleTurquoise | .688,.932,.932 | #AFEEEE |
| PaleVioletRed | .86,.44,.576 | #DB7093 |
| PapayaWhip | 1,.936,.835 | #FFEFD5 |
| PeachPuff | 1,.855,.725 | #FFDAB9 |
| Peru | .804,.52,.248 | #CD853F |
| Pink | 1,.752,.796 | #FFC0CB |
| Plum | .868,.628,.868 | #DDA0DD |
| PowderBlue | .69,.88,.9 | #B0E0E6 |
| Purple | .5,0,.5 | #800080 |
| Red | 1,0,0 | #FF0000 |
| RosyBrown | .736,.56,.56 | #BC8F8F |
| RoyalBlue | .255,.41,.884 | #4169E1 |
| SaddleBrown | .545,.27,.075 | #8B4513 |
| Salmon | .98,.5,.448 | #FA8072 |
| SandyBrown | .956,.644,.376 | #F4A460 |
| SeaGreen | .18,.545,.34 | #2E8B57 |
| Seashell | 1,.96,.932 | #FFF5EE |
| Sienna | .628,.32,.176 | #A0522D |
| Silver | .752,.752,.752 | #C0C0C0 |
| SkyBlue | .53,.808,.92 | #87CEEB |
| SlateBlue | .415,.352,.804 | #6A5ACD |
| SlateGray | .44,.5,.565 | #708090 |
| SlateGrey | .44,.5,.565 | #708090 |
| Snow | 1,.98,.98 | #FFFAFA |
| SpringGreen | 0,1,.498 | #00FF7F |
| SteelBlue | .275,.51,.705 | #4682B4 |
| Tan | .824,.705,.55 | #D2B48C |
| Teal | 0,.5,.5 | #008080 |
| Thistle | .848,.75,.848 | #D8BFD8 |
| Tomato | 1,.39,.28 | #FF6347 |
| Turquoise | .25,.88,.815 | #40E0D0 |
| Violet | .932,.51,.932 | #EE82EE |
| VioletRednot in CSS | .816,.125,.565 | #D02090 |
| Wheat | .96,.87,.7 | #F5DEB3 |
| White | 1,1,1 | #FFFFFF |
| WhiteSmoke | .96,.96,.96 | #F5F5F5 |
| Yellow | 1,1,0 | #FFFF00 |
| YellowGreen | .604,.804,.196 | #9ACD32 |