Difference between revisions of "Template:Infobox color"

From blackwiki
Jump to navigation Jump to search
imported>Mike Dillon
m (default {{{textcolor}}} to "inherit" to avoid bad CSS for template calls not using this parameter)
imported>JSH-alive
m
Line 21: Line 21:
 
|-
 
|-
 
| colspan="3" style="text-align: center; background-color:#{{{hex}}}; font-size:smaller; color:{{{textcolor|inherit}}};" | <sup>'''N'''</sup>: '''N'''ormalised to <nowiki>[</nowiki>&nbsp;0&ndash;255&nbsp;] (changing to [0&ndash;100])
 
| colspan="3" style="text-align: center; background-color:#{{{hex}}}; font-size:smaller; color:{{{textcolor|inherit}}};" | <sup>'''N'''</sup>: '''N'''ormalised to <nowiki>[</nowiki>&nbsp;0&ndash;255&nbsp;] (changing to [0&ndash;100])
|}
+
|}<noinclude>[[Category:Infobox templates|Color]][[fr:Modèle:Infobox couleur]]</noinclude>
 
 
<noinclude>
 
 
 
[[Category:Infobox templates|Color]]
 
 
 
[[fr:Modèle:Infobox couleur]]
 
</noinclude>
 

Revision as of 10:13, 24 February 2006

{{{title}}}
— Color coordinates —
Hex triplet #{{{hex}}}
RGBN (r, g, b) ({{{r}}}, {{{g}}}, {{{b}}})
CMYKN (c, m, y, b) ({{{c}}}, {{{m}}}, {{{y}}}, {{{k}}})
HSV (h, s, v) ({{{h}}}°, {{{s}}}%, {{{v}}}%)
N: Normalised to [ 0–255 ] (changing to [0–100])

fr:Modèle:Infobox couleur