hex to rgb(): Convert Hexadecimal CSS Colour Values to CSS rgb() Function Calls

Home » Blog » Design » hex to rgb(): Convert Hexadecimal CSS Colour Values to CSS rgb() Function Calls

Leider ist der Eintrag nur auf English verfügbar.

Inspired by this Tweet by data visualisation and generative design expert Mike Brondbjerg I’ve created a tiny tool for the use case of converting CSS hexadecimal colour values to their rgb() counterparts: https://bjoernkw.github.io/hexrgb/

hex to rgb() is a simple utility web app that converts hexadecimal CSS colour values to CSS rgb() function calls. Very much in the vein of the UNIX philosophy hex to rgb() is designed to both do one thing well and to make its output easily available for use as input in other programs such as Chroma.js Color Scale Helper, which was the original inspiration behind Mike’s request on Twitter.

hex to rgb() is written in plain JavaScript with Bootstrap added on top for a decent UI.

About the author: Bjoern
Independent IT consultant, entrepreneur

Leave a Comment