Template:Colort/Color
Jump to navigation
Jump to search
Template documentation
| Name | Hex (RGB) |
Red (RGB) |
Green (RGB) |
Blue (RGB) |
Hue (HSL/HSV) |
Satur. (HSL) |
Light (HSL) |
Satur. (HSV) |
Value (HSV) |
|---|---|---|---|---|---|---|---|---|---|
| {{{name}}} | #000000 | 0% | 0% | 0% | Template:Nts° | Expression error: Unrecognized punctuation character "[".% | Expression error: Unrecognized punctuation character "[".% | —% | —% |
Usage
{{Colort/Color
|r = 'red value'
|g = 'green value'
|b = 'blue value'
|name = 'common name'
|html_name = 'html name'
|h = 'hue'
|s = 'saturation percent'
|v = 'brightness percent'
}}
If not provided, HSL and hex triplet are auto-generated from r, g and b parameters. There are no color conversion templates for HSV or other notations yet (hue is the same as HSL).
| The above documentation is transcluded from Template:Colort/Color/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Subpages of this template. |