postcss-rgb-plz
PostCSS plugin to convert hex colors to rgb.
Install
npm i --save-dev postcss-rgb-plz
Usage
See PostCSS docs for examples for your environment.
Reasoning
Part of the CSS styleguide at my work is to always use rgb values for color, and sometimes I like to use hexes/my preprocessor will convert to hexes. This solves that issue.