W3C home > Mailing lists > Public > www-style@w3.org > January 2012

[css4-color] <number> in HSL

From: Lea Verou <leaverou@gmail.com>
Date: Sat, 28 Jan 2012 04:12:12 +0200
Message-ID: <4F23597C.4070407@gmail.com>
To: www-style list <www-style@w3.org>
Since we're having discussions about simplifying HSLA/RGBA, how about 
allowing <number> for saturation and lightness (0-1) too? It currently 
only allows for percentages, so there's not going to be any conflict.

Example: hsl(60, .5, 1) as equivalent to hsl(60, 50%, 100%)

-- 
Lea Verou (http://lea.verou.me | @LeaVerou)
Received on Saturday, 28 January 2012 02:12:43 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:49 GMT