Template:Cod
From Wikipedia, the free encyclopedia
plain text internal link w:interwiki link http://external.link | {{{1}}} on {{{2}}} |
[edit] Usage/Purpose
See: Template:co (talk, backlinks, edit)...
This is a sub-template of the formating template {{Co}} (Which allows color specified encapsuling text inline. Particularly useful in tables and boxes.)
- Call form: {{Cod | Color1 | Color2 }}
Demo for fore-/background combinations.
{{cod|white|blue}} gives
plain text internal link w:interwiki link http://external.link | white on blue |
Other examples:
plain text internal link w:interwiki link http://external.link | white on red |
plain text internal link w:interwiki link http://external.link | #aaffaa on #333333 |
[edit] Standard color names
The HTML 4.01 specification defines sixteen named colors, as follows:
Color | Hexadecimal | Color | Hexadecimal |
---|---|---|---|
black | #000000 | silver | #c0c0c0 |
gray | #808080 | white | #ffffff |
maroon | #800000 | red | #ff0000 |
purple | #800080 | fuchsia | #ff00ff |
green | #008000 | lime | #00ff00 |
olive | #808000 | yellow | #ffff00 |
navy | #000080 | blue | #0000ff |
teal | #008080 | aqua | #00ffff |
See also: