How to use Sass to convert hex colors to rgb.

A pen about to use sass to convert hex colors to rgb values.

While checking out the Perch slack channel, a fellow percher asked if there is a Sass function convert hex colors to rgb. I found mention of it in sass docs and put together a quick pen to test and finish up my work day.

See the Pen hex to rgba by Scott Gruber (@scottgruber) on CodePen.

Posted