A small command-line utility to convert colors in CSS notations to a more widely accepted color hex code.
I initially made this to use with the Github CLI, as it doesn’t support CSS color notations in the gh label create command:
gh label create --color red
does not work, so, with hexstring, you can do this instead of having to manually type hex color codes:
gh label create --color $(hexstring red)