Skip to main content

Support multiple color models in variables

  • July 13, 2023
  • 1 reply
  • 492 views

Mat_Mayes

We use the HSL color model in all of our designs to ensure consistency of lighter/darker shades (instead of relying on opacity where the color can be altered by the background).

We just converted all of our Color Styles to variables, but were disappointed to find that color variables only support HEX codes as values. Yes, I can click into the color and see the HSL values, but because the values themselves are HEX, it’s HEX that gets generated in the code, not HSL.

I see there is also an open idea here for RGBA support too, so perhaps the best approach would be supporting all color models in variables and allowing the user to set the model when they create the variable.

This topic has been closed for replies.

1 reply

  • 0 replies
  • October 11, 2023

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings