As recommended by @coderabbitai in a PR, I should look into https://github.com/soreja/colorm for CSS color parsing support.