I finally got around to releasing a tool I wrote a while back (git says I started it in November 2015).
It's called Shue and you can find it on github.
Shue doesn't do that now as I haven't really needed anything that does it since that one time :) I might bring back that functionality at some point but for now, here's what Shue does do:
- Converts colour representations between various rgb formats: 6-digit hex (e.g.
#ff9900), 3-digit hex (e.g.
#f90), and CSS-style RGB values (e.g.
rgb(255, 153, 0).
- Perform a few basic operations on colours before converting to the various representations:
I wrote this at the time because I was fiddling with a few websites and frequently needed the above functionality.
Let me know if you find it useful.