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/
is there a nice online tool for converting a string of hex codes to a string of RGBs? thanks!
— Mike Brondbjerg | @[email protected] (@mikebrondbjerg) February 4, 2019
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.