latex colors
Posted by peeterjoot on May 16, 2012
I’d seen in wikipedia a list of colors for latex, but some of them didn’t work for me. Looking in the .log file from my latex compilation, I found the path to the color definitions in effect for my document and ran a bit of search and replace to create the following
\documentclass[openany]{memoir}
\usepackage[svgnames]{xcolor}
\begin{document}
\color{AliceBlue}{AliceBlue}
\color{AntiqueWhite}{AntiqueWhite}
\color{Aqua}{Aqua}
\color{Aquamarine}{Aquamarine}
\color{Azure}{Azure}
\color{Beige}{Beige}
\color{Bisque}{Bisque}
\color{Black}{Black}
\color{BlanchedAlmond}{BlanchedAlmond}
\color{Blue}{Blue}
\color{BlueViolet}{BlueViolet}
\color{Brown}{Brown}
\color{BurlyWood}{BurlyWood}
\color{CadetBlue}{CadetBlue}
\color{Chartreuse}{Chartreuse}
\color{Chocolate}{Chocolate}
\color{Coral}{Coral}
\color{CornflowerBlue}{CornflowerBlue}
\color{Cornsilk}{Cornsilk}
\color{Crimson}{Crimson}
\color{Cyan}{Cyan}
\color{DarkBlue}{DarkBlue}
\color{DarkCyan}{DarkCyan}
\color{DarkGoldenrod}{DarkGoldenrod}
\color{DarkGray}{DarkGray}
\color{DarkGreen}{DarkGreen}
\color{DarkGrey}{DarkGrey}
\color{DarkKhaki}{DarkKhaki}
\color{DarkMagenta}{DarkMagenta}
\color{DarkOliveGreen}{DarkOliveGreen}
\color{DarkOrange}{DarkOrange}
\color{DarkOrchid}{DarkOrchid}
\color{DarkRed}{DarkRed}
\color{DarkSalmon}{DarkSalmon}
\color{DarkSeaGreen}{DarkSeaGreen}
\color{DarkSlateBlue}{DarkSlateBlue}
\color{DarkSlateGray}{DarkSlateGray}
\color{DarkSlateGrey}{DarkSlateGrey}
\color{DarkTurquoise}{DarkTurquoise}
\color{DarkViolet}{DarkViolet}
\color{DeepPink}{DeepPink}
\color{DeepSkyBlue}{DeepSkyBlue}
\color{DimGray}{DimGray}
\color{DimGrey}{DimGrey}
\color{DodgerBlue}{DodgerBlue}
\color{FireBrick}{FireBrick}
\color{FloralWhite}{FloralWhite}
\color{ForestGreen}{ForestGreen}
\color{Fuchsia}{Fuchsia}
\color{Gainsboro}{Gainsboro}
\color{GhostWhite}{GhostWhite}
\color{Gold}{Gold}
\color{Goldenrod}{Goldenrod}
\color{Gray}{Gray}
\color{Green}{Green}
\color{GreenYellow}{GreenYellow}
\color{Grey}{Grey}
\color{Honeydew}{Honeydew}
\color{HotPink}{HotPink}
\color{IndianRed}{IndianRed}
\color{Indigo}{Indigo}
\color{Ivory}{Ivory}
\color{Khaki}{Khaki}
\color{Lavender}{Lavender}
\color{LavenderBlush}{LavenderBlush}
\color{LawnGreen}{LawnGreen}
\color{LemonChiffon}{LemonChiffon}
\color{LightBlue}{LightBlue}
\color{LightCoral}{LightCoral}
\color{LightCyan}{LightCyan}
\color{LightGoldenrod}{LightGoldenrod}
\color{LightGoldenrodYellow}{LightGoldenrodYellow}
\color{LightGray}{LightGray}
\color{LightGreen}{LightGreen}
\color{LightGrey}{LightGrey}
\color{LightPink}{LightPink}
\color{LightSalmon}{LightSalmon}
\color{LightSeaGreen}{LightSeaGreen}
\color{LightSkyBlue}{LightSkyBlue}
\color{LightSlateBlue}{LightSlateBlue}
\color{LightSlateGray}{LightSlateGray}
\color{LightSlateGrey}{LightSlateGrey}
\color{LightSteelBlue}{LightSteelBlue}
\color{LightYellow}{LightYellow}
\color{Lime}{Lime}
\color{LimeGreen}{LimeGreen}
\color{Linen}{Linen}
\color{Magenta}{Magenta}
\color{Maroon}{Maroon}
\color{MediumAquamarine}{MediumAquamarine}
\color{MediumBlue}{MediumBlue}
\color{MediumOrchid}{MediumOrchid}
\color{MediumPurple}{MediumPurple}
\color{MediumSeaGreen}{MediumSeaGreen}
\color{MediumSlateBlue}{MediumSlateBlue}
\color{MediumSpringGreen}{MediumSpringGreen}
\color{MediumTurquoise}{MediumTurquoise}
\color{MediumVioletRed}{MediumVioletRed}
\color{MidnightBlue}{MidnightBlue}
\color{MintCream}{MintCream}
\color{MistyRose}{MistyRose}
\color{Moccasin}{Moccasin}
\color{NavajoWhite}{NavajoWhite}
\color{Navy}{Navy}
\color{NavyBlue}{NavyBlue}
\color{OldLace}{OldLace}
\color{Olive}{Olive}
\color{OliveDrab}{OliveDrab}
\color{Orange}{Orange}
\color{OrangeRed}{OrangeRed}
\color{Orchid}{Orchid}
\color{PaleGoldenrod}{PaleGoldenrod}
\color{PaleGreen}{PaleGreen}
\color{PaleTurquoise}{PaleTurquoise}
\color{PaleVioletRed}{PaleVioletRed}
\color{PapayaWhip}{PapayaWhip}
\color{PeachPuff}{PeachPuff}
\color{Peru}{Peru}
\color{Pink}{Pink}
\color{Plum}{Plum}
\color{PowderBlue}{PowderBlue}
\color{Purple}{Purple}
\color{Red}{Red}
\color{RosyBrown}{RosyBrown}
\color{RoyalBlue}{RoyalBlue}
\color{SaddleBrown}{SaddleBrown}
\color{Salmon}{Salmon}
\color{SandyBrown}{SandyBrown}
\color{SeaGreen}{SeaGreen}
\color{Seashell}{Seashell}
\color{Sienna}{Sienna}
\color{Silver}{Silver}
\color{SkyBlue}{SkyBlue}
\color{SlateBlue}{SlateBlue}
\color{SlateGray}{SlateGray}
\color{SlateGrey}{SlateGrey}
\color{Snow}{Snow}
\color{SpringGreen}{SpringGreen}
\color{SteelBlue}{SteelBlue}
\color{Tan}{Tan}
\color{Teal}{Teal}
\color{Thistle}{Thistle}
\color{Tomato}{Tomato}
\color{Turquoise}{Turquoise}
\color{Violet}{Violet}
\color{VioletRed}{VioletRed}
\color{Wheat}{Wheat}
\color{White}{White}
\color{WhiteSmoke}{WhiteSmoke}
\color{Yellow}{Yellow}
\color{YellowGreen}{YellowGreen}
\end{document}
This produces the following
