Difference between revisions of "Template:Infobox color"
Jump to navigation
Jump to search
imported>Ligulem (cat) |
imported>Circeus (trying out an infobox from Trade and use of saffron) |
||
| Line 1: | Line 1: | ||
| − | {| class="toccolours" style="float:right; clear:right; margin: | + | {| class="toccolours" style="float:right; width:225px; clear:right; margin: 0em 0em 1em 1em;" |
| − | |||
| − | |||
|- | |- | ||
| − | ! colspan="3" style="text-align: center; background-color: | + | ! colspan="3" style="text-align: center; background-color:#{{{hex}}};" | {{{title}}} |
| + | |- | ||
| + | | colspan="3" style="height:25px; background-color:#{{{hex}}}; text-align: center;" | — Colour coordinates — | ||
|- | |- | ||
! style="text-align:left;" colspan="2" | [[Web colours|Hex triplet]] | ! style="text-align:left;" colspan="2" | [[Web colours|Hex triplet]] | ||
| #{{{hex}}} | | #{{{hex}}} | ||
|- | |- | ||
| − | ! style="text-align:left;" | [[RGB color model|RGB]] | + | ! style="text-align:left;" | [[RGB color model|RGB]]<sup>'''N'''</sup> |
| − | | (r, g, b) | + | | ([[red|r]], [[green|g]], [[blue|b]]) |
| ({{{r}}}, {{{g}}}, {{{b}}}) | | ({{{r}}}, {{{g}}}, {{{b}}}) | ||
|- | |- | ||
| − | ! style="text-align:left;" | [[CMYK color model|CMYK]] | + | ! style="text-align:left;" | [[CMYK color model|CMYK]]<sup>'''N'''</sup> |
| − | + | | ([[cyan|c]], [[magenta|m]], [[yellow|y]], [[black|b]]) | |
| ({{{c}}}, {{{m}}}, {{{y}}}, {{{k}}}) | | ({{{c}}}, {{{m}}}, {{{y}}}, {{{k}}}) | ||
|- | |- | ||
! style="text-align:left;" | [[HSV color space|HSV]] | ! style="text-align:left;" | [[HSV color space|HSV]] | ||
| − | | (h, s, v) | + | | ([[hue|h]], [[Saturation (color theory)|s]], [[Brightness|v]]) |
| ({{{h}}}°, {{{s}}}%, {{{v}}}%) | | ({{{h}}}°, {{{s}}}%, {{{v}}}%) | ||
|- | |- | ||
| − | + | | colspan="3" style="text-align: center; background-color:#{{{hex}}}; font-size:smaller;" | <sup>'''N'''</sup>: '''N'''ormalised to <nowiki>[</nowiki> 0–255 ] (changing to [0–100]) | |
| − | | colspan=" | + | |} |
| − | |}<noinclude> | + | |
| + | <noinclude> | ||
[[Category:Infobox templates|Color]] | [[Category:Infobox templates|Color]] | ||