≡
Home
Recent changes
Special pages
Wikipedia
Template:RGBColorToLum
Template documentation
[
view
] [
edit
] [
history
] [
purge
]
This template uses
Lua
:
Module:Color contrast
(
sandbox
)
Usage
[
edit
]
Converts parameter 1 from a hex RGB value (#RRGGBB) to a
W3C relative luminance value
.
The above
documentation
is
transcluded
from
Template:RGBColorToLum/doc
.
(
edit
|
history
)
Editors can experiment in this template's
sandbox
(
edit
|
diff
)
and testcases
(
create
)
pages.
Add categories to the
/doc
subpage.
Subpages of this template
.