W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2009

[whatwg] Adding alpha channel to <input type=color>

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 1 Sep 2009 23:12:18 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0909012251530.6775@hixie.dreamhostps.com>
On Wed, 26 Aug 2009, Victor Vasiliev wrote:
> Section says that color must be in sRGB. However, it may be 
> handful for some applications to have alpha channel specified, since 
> many GUI libraries (GTK has it; I'm also told Mac OS supports it as 
> well) support color picker with opacity control.
> I suggest to add a boolean attribute "alpha" to <input type=color> 
> (disabled by default). If this attribute is present, the color well 
> allows to set opacity value, and instead of sRGB, sends RGBA.

This seems like a reasonable thing to add in a future version. I haven't 
added it to HTML5, since we're so close to last call, but if our 
experience with type=color when the UAs widely support it suggests this is 
important, we can prioritise this as a new feature in the next version.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 1 September 2009 16:12:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:52 UTC