Template:Color White/doc: Difference between revisions
Jump to navigation
Jump to search
(doc) |
(example (duh)) |
||
Line 3: | Line 3: | ||
This is the base color White, RGB value R:255, G:255, B:255, hexadecimal #{{Color White}}. 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 White, RGB value R:255, G:255, B:255, hexadecimal #{{Color White}}. 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 White}}" cellpadding="10" | |||
| Black text | |||
|- style="color: white;" | |||
| White text | |||
|} | |||
You can use it like this: | You can use it like this: | ||
<pre><span style="color:#{{Color White}}; background:#{{Color Black}}"> This text will be white and on a black background </span></pre> | <pre><span style="color:#{{Color White}}; background:#{{Color Black}}"> This text will be white and on a black background </span></pre> |
Latest revision as of 20:38, 25 March 2013
This is a documentation subpage for Template:Color White (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 White, RGB value R:255, G:255, B:255, hexadecimal #FFFFFF. 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