This little function has proved quite handy in converting (configurable) HEX colour codes to RGB colour codes ready for usage in CSS rgba() colour declarations.

 

Leave a Reply