Message Boards Message Boards

1
|
13350 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Hex RGB color to HSL conversion: who is right?

Posted 9 years ago

So, while trying to extract HSL values from a hex representation of color (let's say #9d3434) I get results from WolframAlpha: HSL | hue 0° | saturation 82% | lightness 19%.

But when I tried to use that values directly (in my case in web-browser via CSS) I get strange results: browser is treating WA's HSL value as #580909, and treating original hex color as hsl(0, 50%, 41%). Quick search for online color converters showed consistency with browser data.

Maybe I misunderstood something? Units look the same (degrees 0-360 and percents 0-100) for their respective columns.

Sorry for my English.

POSTED BY: Alexey Artuhov
3 Replies
Posted 9 years ago

Don't know if I'm allowed to post links here, but there is the same hex color info from another service

Don't know if I'm allowed to post links here, but there is the same hex color info from another service

POSTED BY: Alexey Artuhov

enter image description here

POSTED BY: Simon Cadrin
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract