3 ms·
Darken/Lighten adjust the L (lightness) value in the HSL representation of the color. Saturate/Desaturation does the same for the S (saturation) value in the H
by hieronymusN 14y ago
Darken/Lighten adjust the L (lightness) value in the HSL representation of the color.
Saturate/Desaturation does the same for the S (saturation) value in the HSL representation of the color.
Adjust_Hue moves the hue of the color (H in HSL) around a 360 degree color wheel. (from 0 - 360)
https://en.wikipedia.org/wiki/HSL_and_HSV https://en.wikipedia.org/wiki/HSL_and_HSV
If you look at how SASS handles colors under the hood, then yeah, that's how it does it.
- Carioca 14y agoThe site is actually behaving differently from SASS, see my self-reply: http://news.ycombinator.com/item?id=4539760 http://news.ycombinator.com/item?id=4539760 (I was writing it when you replied.
- hieronymusN 14y agoYou're right - we have a subtle math bug (JavaScript not known for its math precision..) SASS takes colors out to three decimal places, which we weren't. Will be pushing the fix to both GitHub and the live site shortly, along with some rendering fixes for IE8/9. Updated: fixed on GitHub - https://github.com/arc90/sass-color-picker/commit/4b2fc4fcad0fdcca89962c84c72de1ac0a8a8120 https://github.com/arc90/sass-color-picker/commit/4b2fc4fcad...