News for hackers. Stuff that matters.
Re:SassMe: Visualize SASS color functions in real-time witho... by hieronymusN on Tuesday September 18, 2012 @02:40PM (#4539777)
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

If you look at how SASS handles colors under the hood, then yeah, that's how it does it.

Re:SassMe: Visualize SASS color functions in real-time witho... by Carioca on Tuesday September 18, 2012 @02:47PM (#4539819)
The site is actually behaving differently from SASS, see my self-reply: http://news.ycombinator.com/item?id=4539760

(I was writing it when you replied.

Re:SassMe: Visualize SASS color functions in real-time witho... by hieronymusN on Tuesday September 18, 2012 @03:39PM (#4540078)
You'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/4b2fc4fcad...