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

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.