Template talk:RGBColorToLum

(Redirected from Template talk:RGBColorToLum/sandbox)
Latest comment: 3 years ago by Guarapiranga in topic Superseded by ColorToLum?

Shorthand hexadecimal form

edit

Would it be possible to add support for Web colors#Shorthand hexadecimal form 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:

  • {{RGBColorToLum|#0066FF}} = 0.16722742357529
  • {{RGBColorToLum|#06F}} = 0.16722742357529

Helder 13:07, 29 March 2013 (UTC)Reply

done. Frietjes (talk) 17:17, 11 June 2014 (UTC)Reply

Superseded by ColorToLum?

edit

{{ColorToLum}} seems to do everything this one does and more. โ€” ๐†๐ฎ๐š๐ซ๐š๐ฉ๐ข๐ซ๐š๐ง๐ ๐š (talk) 06:17, 6 May 2021 (UTC)Reply