Interested Article - ColorToLum
Выводит
цвета.
Примеры
-
{{
ColorToLum
|
Lime
}}
→ 0.7152
-
{{
ColorToLum
|
hsl(120,100%,50%)
}}
→ 0.7152
-
{{
ColorToLum
|
#00FF00
}}
→ 0.7152
-
{{
ColorToLum
|
rgb(0,255,0)
}}
→ 0.7152
-
{{
ColorToLum
|
rgb(0.0%,100.0%,0.0%)
}}
→ 0.7152