Closed s10wen closed 11 years ago
Am I missing something? Just noticed on the site, sometimes the hex values as #000, but sometimes as #000000. Shouldn't they always be 3 digit where possible? Cheers.
I prefer the six digit always. if you're gonna do hex, do 6 digit and deal with your greyscale having repetition.
but i'd rather author in hsl anyway..
Ok, cheers, saw your http://mothereffinghsl.com/ (nice source code btw!) and http://www.useragentman.com/blog/2010/08/28/coding-colors-easily-using-css3-hsl-notation/
It's just: hsl(0, 100%, 50%)
Seems so long in comparison to:
Tried searching re 'greyscale having repetition' but couldn't find anything, what's the issue please?
the repetition is in there being two of each of the three digits in the hex.
my guess is Paul prefers consistency to the nominal difference in time-saved/smaller file-size argument that supports the switch to three-digit hex when possible.
Gotcha, cool cheers.
bingo. thx curtis :)
i'm just saying for authoring usability... I think jumping onto HSL is best. use a preprocessor to compile back to hex for legacy browsers if need be.
and css minifiers already make the 6 to 3 digit crush
Updated css values where possible e.g. 0px to 0, #ffffff to #fff.