This is an old revision of this page, as edited by Elegant's (talk | contribs) at 12:07, 22 February 2010. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 12:07, 22 February 2010 by Elegant's (talk | contribs)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)This article contains instructions, advice, or how-to content. Please help rewrite the content so that it is more encyclopedic or move it to Wikiversity, Wikibooks, or Wikivoyage. |
To use a colour in a template or table you can use the hex triplet (e.g. bronze is #CD7F32) or HTML colour names (e.g. red).
Overriding font colour
To make a word have colour, use:
<span style="color:hex triplet or colour name">text</span>
Examples:
<span style="color:red">red writing</span>
shows as red writing<span style="color:#0f0">green writing</span>
shows as green writing<span style="color:#0000f1">blue writing</span>
shows as blue writing
Template:Fontcolor can also be used. Examples:
- {{fontcolor|green|this is about plants}}: this is about plants:(it appears in green text).
- {{fontcolor||red|text in red background}}: text in red background:(no parameters are used for the text color, only for the background)
- {{fontcolor|red|yellow|red text with yellow background}}: red text with yellow background
Wikimedia colour schemes
Misplaced Pages
Misplaced Pages uses this colour scheme on its Main Page.
- Please note that the colour for the border on the lighter boxes is also the colour of the backgrounds of the darker (title) boxes.
background:#f5fffa border:#cef2e0 | background:#cef2e0 border:#a3bfb1 | ||
background:#f5faff border:#cedff2 | background:#cedff2 border:#a3b0bf | ||
background:#faf5ff border:#ddcef2 | background:#ddcef2 border:#afa3bf | ||
background:#fcfcfc border:#cccccc |
And additionally on the Community Portal:
background:#fffaf5 border:#f2e0ce | background:#f2e0ce border:#bfb1a3 |
Additional 3-colour palettes using this same generation scheme are at the top of the talk page. The background colour of Misplaced Pages pages is #F8FCFF.
Commons
The Wikimedia Commons uses this colour scheme on commons:Main Page and commons:Help:Contents.
background colour: #d0e5f5
background colour: #f1f5fc |
background colour: #faecc8
background colour: #faf6ed |
See also
- Color tool - list of online color tools
- List of colors
- Template:Fontcolor and Template:Colorsample
- Web colors
- Misplaced Pages:Accessibility
- Misplaced Pages:How to reduce colors for saving a JPEG as PNG
- Misplaced Pages:Infobox colours - inactive
- Misplaced Pages:Link color
- Misplaced Pages:Template standardisation
- Misplaced Pages:WikiProject Color
- Misplaced Pages:WikiProject Usability/Color - inactive