Board Thread:Support Requests - Getting Technical/@comment-35289850-20200817021002/@comment-9605025-20200817041004

Perhaps this would be sufficient? Something Here. If you actually want to perform maths on the colors, then you will have to use JS. I did some digging and couldn't find anything that about retrieving the values as numbers. However, perhaps some custom fucntions like this would work. Something Here. Time for some disclaimers. I haven't tested this JS so there could be errors. Also, I am assuming all browsers return the color string in the same format as my browser (MS Edge (Chromium)). If different browsers return the color in different formats, then this all goes to s**t. The maths must be done if the RGB/RGBA representation and not HSL/HSLA representation because to allow that would require conversion and I just don't feel like doing that. At least, not for a draft version that might not actually get used. Lastly, this draft only impact the "color" property. However, the script could be expanded to other properties such as "border-color" and "background-color".