Wikipedia:Colors

Jump to: navigation, search

Template:Style-guideline Colors are most commonly found in Wikipedia articles within templates and tables.

If you are looking for a colour, see:

To use a color in a template or table you can use the hex triplet. Example: bronze is #CD7F32.

Alternatively, some common colours can be referred to by name (HTML 4 colours). Orange is also included. Example: green

Wikimedia colour schemes

Wikipedia

Wikipedia 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 and Wikisource Main Page:

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.

Commons

The Wikimedia Commons uses this colour scheme on commons:Main Page and commons:Help:Contents.

background colour: #d0e5f5

background colour: #f1f5fc

border colour: #abd5f5
background colour: #faecc8

background colour: #faf6ed

border colour: #fad67d
  1. REDIRECT Template:Further
  • From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.

Basic explanation of hex triplets

A hex triplet is a six-digit, three-byte hexadecimal number used in HTML and CSS, and other computing applications, to represent colors. The bytes represent the red, green and blue components of the color. One byte represents a number in the range 00 to FF (in hexadecimal notation), or 0 to 255 in decimal notation. This represents the least (0) to the most (255) intensity of each of the color components. The hex triplet is formed by concatenating three bytes in hexadecimal notation, in the following order:

Byte 1: red value
Byte 2: green value
Byte 3: blue value

For example, consider the color where the red/green/blue values are decimal numbers: red=36, green=104, blue=160 (a greyish-blue color). The decimal numbers 36, 104 and 160 are 24, 68 and A0 respectively in hexadecimal notation. To obtain the hex triplet, we simply write the three hex bytes together without spaces, thus: 2468A0. If a byte is less than 16 (decimal) or 10 (hex) it must be represented with a leading zero to keep the number of digits in the triplet equal to six. For example, the decimal triplet 0,1,2 would be represented by the hex triplet 000102.

To make a word have color, use: <span style="color: see below"> with this code the first two numbers are how much red there is, the next two are green and the next two are blue. To get the lowest amount of a color use 0 the next amount is not 2, but 3 then 6 then 9 then "c" stands as 12, the "f" stands as 15. Examples:<span style="color: #009900">,<span style="color: #0000ff">,<span style="color: #00ffff">,<span style="color: #ff00ff">,<span style="color: #339999">,<span style="color: #ff0000">,<span style="color: #669999">.

25% #ffbfbf #ffbfff #dfbfff #cebdff #bfbfff #bfdfff #bfffef #bfffbf #dfffbf #efffbf #f0f0b4 #ffffb1 #ffd6bf #ffddbf
20% #ffcccc #ffccff #e6ccff #d9ccff #ccccff #cce6ff #ccfff2 #ccffcc #e6ffcc #f2ffcc #f0f0c0 #ffffcc #ffdfcc #ffe4cc
15% #ffd9d9 #ffd9ff #edd9ff #e3d9ff #d9d9ff #d9edff #d9fff6 #d9ffd9 #edffd9 #f6ffd9 #f0f0cc #ffffd9 #ffe7d9 #ffebd9

Examples

Note. If a page layout has two or more backgrounds with no spacing between their borders, e.g., the Community Portal, use the darkest border that applies.

See also

ar:ويكيبيديا:ألوان als:Hilfe:Farbtabell de:Hilfe:Farben eo:Helpo:Koloroj ka:დახმარება:ფერები la:Vicipaedia:Colores sv:Wikipedia:Färgtabell uk:Вікіпедія:Барви


Linked-in.jpg