Posts, a community app by Read.cv

Thread
joe

example 1, HSL 257, 5, 15 produces #242327 in the fill panel

joe

example 2, same HSL 257, 5, 15 producing #252428 in the variables panel (trying to make a light/dark mode variable)... which is kind of a prob?

Anh
Anh @pw
Replying to @joeytee

It's probably a bug with Figma's color profile management. Have you checked if they're visually the same color?

joe
Replying to @pw

to my eye they are. i had my engineer tell me what Xcode converted HSL to, and it was at the latter (the version in the variable section of figma), so that gives me some comfort that the equation to convert there is reliably the same as what the product will use

jonathan
Replying to @joeytee

I’d try it in photoshop to cross reference