Template:Color OIAm Light Grey/doc: Difference between revisions

From OIAr
Jump to navigation Jump to search
(added example)
(better 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 OIAm Light Grey, RGB value R:246, G:246, B:246, hexadecimal #{{Color OIAm Light Grey}}. 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 OIAm Light Grey, RGB value R:246, G:246, B:246, hexadecimal #{{Color OIAm Light Grey}}. 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:
The color looks like the background in this table:
{| class="wikitable"
{| style="color: black; background-color:#{{Color OIAm Light Grey}}" cellpadding="10"
style="color:green; background-color:#{{color OIAm Light Grey}}; color: black"  
| Black text
cellpadding="10"
| #{{color OIAm Light Grey}};
|- style="color: white;"
|- style="color: white;"
| #{{color OIAm Light Grey}};
| White text
|}
|}



Latest revision as of 21:37, 25 March 2013

This is the base color OIAm Light Grey, RGB value R:246, G:246, B:246, hexadecimal #F6F6F6. 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 OIAm Light Grey}}; background:#{{Color Black}}"> This text will be OIAm Light Grey and on a black background </span>

This results in: This text will be OIAm Light Grey and on a black background