Template:Color Black: Difference between revisions

From OIAr
Jump to navigation Jump to search
(Color template added)
 
(remove extra chars)
 
Line 1: Line 1:
#000000;<noinclude>
000000<noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 19:37, 25 March 2013

000000

Template documentation

This is the base color Black, RGB value R:0, G:0, B:0, hexadecimal #000000. It is part of this wiki's base color palette. It is not meant to be used directly, but rather to be inserted in one or more color combinations. Should you nevertheless wish to use it directly, you must know that it ONLY returns the six-digit hexadecimal color code.

The color looks like the background in this table:

Black text
White text

You can use it like this:

<span style="color:#{{Color White}}; background:#{{Color Black}}"> This text will be white and on a black background </span>

This results in: This text will be white and on a black background