Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
isp:hsl-_rgb [2019/05/27 23:42] – [Detailed algorithm] Igor Yefmov | isp:hsl-_rgb [2019/05/27 23:51] – Igor Yefmov | ||
---|---|---|---|
Line 10: | Line 10: | ||
* \(H\) (hue) is a signed '' | * \(H\) (hue) is a signed '' | ||
* \(S\) (saturation) is an '' | * \(S\) (saturation) is an '' | ||
- | * \(L\) (luminosity) is a '' | + | * \(L\) (luminosity) is a '' |
The output of this conversion is an \(RGB\) triplet '' | The output of this conversion is an \(RGB\) triplet '' | ||
Line 28: | Line 28: | ||
The last part, losing the 14 LSB, doesn' | The last part, losing the 14 LSB, doesn' | ||
- | ===== Step-by-step algorithm ===== | ||
- | ==== Precise calculations ==== | + | ===== Precise calculations |
As a refresher this is how [[https:// | As a refresher this is how [[https:// | ||
Line 59: | Line 58: | ||
\[(R, | \[(R, | ||
- | ==== Detailed | + | ===== Step-by-step |
Armed with the above information we can now compile the necessary sequence of calculations and format it into an easy-to-use table: | Armed with the above information we can now compile the necessary sequence of calculations and format it into an easy-to-use table: | ||