الگو:Colort/Color

از ویکی‌پدیا، دانشنامهٔ آزاد
پرش به: ناوبری، جستجو
Color names
Name Hex triplet Red Green Blue Hue Satur Light Satur Value W3C name
{{{name}}} #الگو:Hex3 0% 0% 0% &-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1.000000۰° 0% 0% —% —%
نشان توضیحات توضیحات الگو

Color table row, for use with {{Colort}}, which creates the column headings.

Usage

{{Colort/Color
|name = 'common name'
|html_name = 'html name'

|r = 'red value'
|g = 'green value'
|b = 'blue value'

|s = 'saturation percent'
|v = 'brightness percent'

|hex = 'Hex triplet' (can be automatically generated from (r,g,b) values)
|h = 'HSL' (hue, can be automatically generated from (r,g,b) values)
}}

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).

Examples

See X11 color names, Web colors, or "what links here".