Template:Color Black/doc: Difference between revisions

From OIAr
Jump to navigation Jump to search
(doc)
 
(added example)
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the base color Black, RGB value R:0, G:0, B:0, hexadecimal #{{Color Black}}. It is part of this wiki's [[:Category:Base color templates|base color palette]]. It is not meant to be used directly, but rather to be inserted in one or more [[:Category:Color combination|color combinations]]. Should you nevertheless wish to use it directly, you must know that it ONLY returns the six-digit hexadecimal color code.
This is the base color Black, RGB value R:0, G:0, B:0, hexadecimal #{{Color Black}}. It is part of this wiki's [[:Category:Base color templates|base color palette]]. It is not meant to be used directly, but rather to be inserted in one or more [[:Category:Color combination|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:
{| style="color: black; background-color:#{{Color Black}}" cellpadding="10"
| #{{color Black}};
|- style="color: white;"
| #{{color Black}};
|}


You can use it like this:
You can use it like this:

Revision as of 20:29, 25 March 2013

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:

#000000;
#000000;

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