Templat:RGBColorToLum

Converts parameter 1 from a hex RGB value (#RRGGBB) to a W3C relative luminance value.