A JSON Object of css color names mapped to their hex value\hypertarget{md_sfcode_node_modules_css_color_names_README_autotoc_md7033}{}\doxysection{Usage}\label{md_sfcode_node_modules_css_color_names_README_autotoc_md7033}

\begin{DoxyCode}{0}
\DoxyCodeLine{var csscolors = require('css-\/color-\/names');}
\DoxyCodeLine{console.dir(csscolors); }

\end{DoxyCode}


yields


\begin{DoxyCode}{0}
\DoxyCodeLine{\{}
\DoxyCodeLine{  "{}aqua"{}: "{}\#00ffff"{},}
\DoxyCodeLine{  "{}aliceblue"{}: "{}\#f0f8ff"{},}
\DoxyCodeLine{  "{}antiquewhite"{}: "{}\#faebd7"{},}
\DoxyCodeLine{  "{}black"{}: "{}\#000000"{},}
\DoxyCodeLine{  "{}blue"{}: "{}\#0000ff"{},}
\DoxyCodeLine{  ...}
\DoxyCodeLine{\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_css_color_names_README_autotoc_md7034}{}\doxysection{How was this list generated?}\label{md_sfcode_node_modules_css_color_names_README_autotoc_md7034}
In the Makefile you\textquotesingle{}ll see a line like this\+: \begin{DoxyVerb}./getcolors.sh | ./stringify.js > $(FILE)
\end{DoxyVerb}
 The first command scrapes a site for the list, and outputs the results separated by newlines. The second command creates the JSON object and outputs it to stdout, which then gets redirected into {\ttfamily css-\/color-\/names.\+json}\hypertarget{md_sfcode_node_modules_css_color_names_README_autotoc_md7035}{}\doxysection{Installation}\label{md_sfcode_node_modules_css_color_names_README_autotoc_md7035}
\begin{DoxyVerb}npm install css-color-names
\end{DoxyVerb}
 \hypertarget{md_sfcode_node_modules_css_color_names_README_autotoc_md7036}{}\doxysection{License}\label{md_sfcode_node_modules_css_color_names_README_autotoc_md7036}
MIT 