Difference between revisions of "Template:Colort/Color"

From blackwiki
Jump to navigation Jump to search
imported>Crissov
imported>Crissov
(now includes HSL and more sophisticated borders)
Line 13: Line 13:
 
|style="border-left-width:1px;border-right-width:0px;"| {{{s}}}%  
 
|style="border-left-width:1px;border-right-width:0px;"| {{{s}}}%  
 
|style="border-left-width:0px;border-right-width:2px;"| {{{v}}}% {{#if:{{{html_name|}}}|
 
|style="border-left-width:0px;border-right-width:2px;"| {{{v}}}% {{#if:{{{html_name|}}}|
{{!}}style="border-left-width:2px;"{{!}} {{{html_name}}} }}
+
{{!}}style="border-left-width:2px;"{{!}} {{{html_name}}} }}<noinclude>
<noinclude>
 
 
|}
 
|}
 
  
 
If not provided, HSL and [[hex triplet]] are auto-generated from ''r'', ''g'' and ''b'' parameters. There are no [[:Category:Color conversion templates|color conversion templates]] for HSV or other notations yet (hue is the same as HSL).
 
If not provided, HSL and [[hex triplet]] are auto-generated from ''r'', ''g'' and ''b'' parameters. There are no [[:Category:Color conversion templates|color conversion templates]] for HSV or other notations yet (hue is the same as HSL).

Revision as of 22:47, 12 September 2010

Colors
Name Hex
(RGB)
Red
(RGB)
Green
(RGB)
Blue
(RGB)
Hue
(HSL/HSV)
Satur.
(HSL)
Light
(HSL)
Satur.
(HSV)
Value
(HSV)
{{{name}}} #?????? Expression error: Unrecognized punctuation character "{".% Expression error: Unrecognized punctuation character "{".% Expression error: Unrecognized punctuation character "{".% Template:Nts° Template:RGBtoHSL.S% Template:RGBtoHSL.L% {{{s}}}% {{{v}}}%

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

ar:قالب:Color/Color