Difference between revisions of "Template:Colort"

From blackwiki
Jump to navigation Jump to search
Line 16: Line 16:
 
|<!--wide color table-->
 
|<!--wide color table-->
 
!style="border-left:solid {{{width|4em}}} {{{border|#CCC}}};border-right:solid 2px {{{border|#AAA}}};"{{!}} Name
 
!style="border-left:solid {{{width|4em}}} {{{border|#CCC}}};border-right:solid 2px {{{border|#AAA}}};"{{!}} Name
!style="border-left:solid 2px {{{border|#AAA}}};border-right:solid 1px {{{border|#AAA}}};" title="Hexadecimal triplet"{{!}} [[Web colors#Hex triplet|Hex]] <small>(RGB)</small>
+
!style="border-left:solid 2px {{{border|#AAA}}};border-right:solid 1px {{{border|#AAA}}};" title="Hexadecimal triplet"{{!}} [[Web colors#Hex triplet|Hex]]<br /> <small>(RGB)</small>
 
!style="border-left:solid 1px {{{border|#AAA}}};border-right:solid 0px {{{border|#AAA}}};width:{{{colwidth|3em}}};"{{!}} [[RGB|Red]]<br /> <small>(RGB)</small>
 
!style="border-left:solid 1px {{{border|#AAA}}};border-right:solid 0px {{{border|#AAA}}};width:{{{colwidth|3em}}};"{{!}} [[RGB|Red]]<br /> <small>(RGB)</small>
 
!style="border-left:solid 0px {{{border|#AAA}}};border-right:solid 0px {{{border|#AAA}}};width:{{{colwidth|3em}}};"{{!}} [[RGB|Green]]<br /> <small>(RGB)</small>
 
!style="border-left:solid 0px {{{border|#AAA}}};border-right:solid 0px {{{border|#AAA}}};width:{{{colwidth|3em}}};"{{!}} [[RGB|Green]]<br /> <small>(RGB)</small>

Revision as of 00:09, 18 May 2016

Color names
Name Hex
(RGB)
Red
(RGB)
Green
(RGB)
Blue
(RGB)
Hue
(HSL/HSV)
Satur.
(HSL)
Light
(HSL)
Satur.
(HSV)
Value
(HSV)
Template documentation[view] [edit] [history] [purge]

Color table header, for use with {{Colort/Color}}, which generates the rows.

Usage

{{Colort|optional parameters}}

See {{Colort/Color}} for usage.

Parameters

|narrow=true
switches a narrow variant that is not sortable and has two rows per color
|caption=markup text
An alternative table caption, replaces the default
|class=HTML class
More classes to be applied to the table
|style=CSS code
More styles to be applied to the table
|html_name=true
If set an additional column header is added at the end with a default text: “Alias”
|alias=markup text
If present an additional column header is added at the end with the text provided
|alias title=plain text
The hover information to be displayed for the header cell of the optional column, default is “CSS, SVG, HTML”

Examples

See X11 color names, Web colors, List of colors, ...