Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Template
:
RGBColorToLum
Template page
Views
Read
View source
View history
associated-pages
Template
Discussion
More actions
Template documentation
[
view
] [
edit
] [
history
] [
purge
]
This template uses
Lua
:
Module:Color contrast
Usage
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
(
create
|
mirror
)
and testcases
(
create
)
pages.
Add categories to the
/doc
subpage.
Subpages of this template
.