PostCSS plugin to transform basic and extended css color keywords to HEX RGB.
Input:
.foo {
color: red;
}
Output:
.foo {
color: #FF0000;
}
postcss([ require('postcss-color-extended-keywords') ])
color
background
background-color
border
border-color
outline
outline-color
text-shadow
box-shadow
See PostCSS docs for examples for your environment.