From English Wikipedia @ Freddythechick
__EXPECTUNUSEDTEMPLATE__
RGB
{{Value color|0|0|100|000000|FFFFFF}}
{{Value color|50|0|100|000000|FFFFFF}}
{{Value color|100|0|100|000000|FFFFFF}}
As a CSS value
<span style="color:{{Value color|25|25|100|FF0000|0000FF}}">Foo</span>
<span style="color:{{Value color|50|25|100|FF0000|0000FF}}">Foo</span>
<span style="color:{{Value color|75|25|100|FF0000|0000FF}}">Foo</span>
<span style="color:{{Value color|100|25|100|FF0000|0000FF}}">Foo</span>
Decimal
{{Value color|0.5|0|1|000000|FFFFFF}}
Hex output
{{Value color|50|25|100|FF0000|0000FF|hex=y}}
<span style="color:{{Value color|50|25|100|FF0000|0000FF|hex=y}}">Foo</span>
Missing parameters
{{Value color}}
{{Value color}} | → |
Parameters 1, 2, and 3 are required and must be numbers. |
---|
{{Value color/sandbox}} | → |
Parameters 1, 2, and 3 are required and must be numbers. |
---|
{{Value color|1|2}}
{{Value color}} | → |
Parameters 1, 2, and 3 are required and must be numbers. |
---|
{{Value color/sandbox}} | → |
Parameters 1, 2, and 3 are required and must be numbers. |
---|
{{Value color|1|2|apple}}
{{Value color}} | → |
Parameters 1, 2, and 3 are required and must be numbers. |
---|
{{Value color/sandbox}} | → |
Parameters 1, 2, and 3 are required and must be numbers. |
---|