- From: Chris Lilley <chris@w3.org>
- Date: Thu, 30 Jul 2009 15:07:14 +0200
- To: Dirk Schulze <vbs85@gmx.de>
- CC: www-svg@w3.org
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 CG
Received on Thursday, 30 July 2009 13:07:32 UTC