Шаблон:RGBColorToLum

Мавод аз Википедиа — донишномаи озод

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