On userstyles.org you can create color settings to let the user define it's own color that applies in style.
In my style I'm using main color that the user can define and some additional colors that derives from main color. But userstyles put color in HEX(
So is there any way to calculate HEX colors or convert HEX to RGB or HSL?