On Saturday, February 14, 2009, 9:35:59 PM, Dirk wrote: DS> Doesn't it mean that we just have to calculate the luminance by DS> r * 0.2125 + g * 0.7154 + b * 0.0721 and set the alpha to this DS> luminance? Just to close the loop on that for the archives - it depends on how you are defining r, g and b. They need to be in linear light, not gamma corrected for screen display. See http://www.w3.org/TR/WCAG20/relative-luminance.xml -- Chris Lilley mailto:chris@w3.org Technical Director, Interaction Domain W3C Graphics Activity Lead Co-Chair, W3C Hypertext CGReceived on Thursday, 30 July 2009 13:07:32 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:55:12 GMT