\begin{quote}
Minify colors in your CSS files with Post\+CSS. \end{quote}
\hypertarget{md_sfcode_node_modules_postcss_colormin_README_autotoc_md20919}{}\doxysection{Install}\label{md_sfcode_node_modules_postcss_colormin_README_autotoc_md20919}
With \href{https://npmjs.org/package/postcss-colormin}{\texttt{ npm}} do\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{npm install postcss-\/colormin -\/-\/save }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_postcss_colormin_README_autotoc_md20920}{}\doxysection{Example}\label{md_sfcode_node_modules_postcss_colormin_README_autotoc_md20920}

\begin{DoxyCode}{0}
\DoxyCodeLine{var postcss = require('postcss')}
\DoxyCodeLine{var colormin = require('postcss-\/colormin');}
\DoxyCodeLine{}
\DoxyCodeLine{var css = 'h1 \{color: rgba(255, 0, 0, 1)\}';}
\DoxyCodeLine{console.log(postcss(colormin()).process(css).css);}
\DoxyCodeLine{}
\DoxyCodeLine{// => 'h1 \{color:red\}' }

\end{DoxyCode}


For more examples see the \href{src/__tests__/index.js}{\texttt{ tests}}.\hypertarget{md_sfcode_node_modules_postcss_colormin_README_autotoc_md20921}{}\doxysection{Usage}\label{md_sfcode_node_modules_postcss_colormin_README_autotoc_md20921}
See the \href{https://github.com/postcss/postcss\#usage}{\texttt{ Post\+CSS documentation}} for examples for your environment.\hypertarget{md_sfcode_node_modules_postcss_colormin_README_autotoc_md20922}{}\doxysection{Contributors}\label{md_sfcode_node_modules_postcss_colormin_README_autotoc_md20922}
See \href{https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md}{\texttt{ CONTRIBUTORS.\+md}}.\hypertarget{md_sfcode_node_modules_postcss_colormin_README_autotoc_md20923}{}\doxysection{License}\label{md_sfcode_node_modules_postcss_colormin_README_autotoc_md20923}
MIT © \href{http://beneb.info}{\texttt{ Ben Briggs}} 