Template talk:RGBColorToLum

Shorthand hexadecimal form
Would it be possible to add support for Web colors to this template? (there is more info on this syntax at http://www.w3.org/TR/css3-color/#numerical)

E.g., I would like to get the same result in the following examples: Helder 13:07, 29 March 2013 (UTC)
 * done. Frietjes (talk) 17:17, 11 June 2014 (UTC)

Superseded by ColorToLum?
ColorToLum seems to do everything this one does and more. — 𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚 (talk) 06:17, 6 May 2021 (UTC)