Template:Color Black/doc: Difference between revisions
Jump to navigation
Jump to search
(added example) |
(better example) |
||
Line 5: | Line 5: | ||
The color looks like the background in this table: | The color looks like the background in this table: | ||
{| style="color: black; background-color:#{{Color Black}}" cellpadding="10" | {| style="color: black; background-color:#{{Color Black}}" cellpadding="10" | ||
| | | Black text | ||
|- style="color: white;" | |- style="color: white;" | ||
| | | White text | ||
|} | |} | ||
Latest revision as of 20:37, 25 March 2013
This is a documentation subpage for Template:Color Black (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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