Difference between revisions of "Template:Infobox color"

From blackwiki
Jump to navigation Jump to search
imported>Phil Boswell
(Tweak)
imported>Ed g2s
(margin inherit for caption)
Line 1: Line 1:
{| style="float:right;border:solid 1px black;margin-left:2em;text-align:center;"
+
{| class="toccolours" style="float:right; clear:right; margin: 0 0 1em 1em;"
|+ '''{{{title}}}'''
+
|+ style="margin-left: inherit;" | '''{{{title}}}'''
 
| colspan="3" style="height: 100px;background-color:#{{{hex}}};" |  
 
| colspan="3" style="height: 100px;background-color:#{{{hex}}};" |  
 
|-
 
|-
! colspan="3" style="background-color:silver;" | Color Coordinates
+
! colspan="3" style="text-align: center; background-color: silver;" | Color Coordinates
 
|-
 
|-
 
! style="text-align:left;" colspan="2" | [[Hex triplet]]
 
! style="text-align:left;" colspan="2" | [[Hex triplet]]
Line 21: Line 21:
 
|-
 
|-
 
|  
 
|  
| colspan="2" style="text-align:left;" | <small><sup>'''N'''</sup>: '''N'''ormalised to <nowiki>[</nowiki>&nbsp;0&ndash;255&nbsp;]</small>
+
| colspan="2" style="text-align:left; font-size: smaller;" | <sup>'''N'''</sup>: '''N'''ormalised to <nowiki>[</nowiki>&nbsp;0&ndash;255&nbsp;]
 
|}
 
|}

Revision as of 09:58, 27 April 2005

{{{title}}}
 
Color Coordinates
Hex triplet #{{{hex}}}
RGB (r, g, b) N ({{{r}}}, {{{g}}}, {{{b}}})
CMYK (c, m, y, k) N ({{{c}}}, {{{m}}}, {{{y}}}, {{{k}}})
HSV (h, s, v) ({{{h}}}°, {{{s}}}%, {{{v}}}%)
  N: Normalised to [ 0–255 ]