Search results
Results From The WOW.Com Content Network
background-color is passed to the css background-color property of the color box. The optional outline parameter is the color of the outline around the box. The optional border argument which overrides the outline argument and sets the css description (e.g., 1px solid #aaa) of the border that will be drawn around the box.
This template determines the pair of colors with the larger contrast ratio: color1/color2 or color1/color3. This is useful for selecting a foreground/background color pair.
TemplateData for Element color This template returns an RGB color number, for usage in css style setting (style="background:#ab23a6"). For certain input, a css fontcolor or border style is returned.
The color template can be used to add a span of text with any given text color Template parameters [Edit template data] Parameter Description Type Status Color 1 CSS name of color or hex code of color, e.g. 'red' or '#00F000'. String required Text 2 The string of text to be formatted in the desired color String suggested The above documentation is transcluded from Template:Color/doc. (edit ...
When changing or creating a new template, follow the use of colour guidelines and the color accessibility guidelines when choosing the background color and, sometimes, the text color. Many of these templates can be used with links to other articles or references, so the links should be clearly identifiable against the background color.
This template is used on approximately 5,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage . Consider discussing changes on the talk page before implementing them.
This template returns the color contrast ratio between the two colors provided. It accepts two parameters, which can be a standard RGB hex color code (#RRGGBB) or a standard HTML color or CSS "orange" (= #FFA500). Color names and hex letters are case-insensitive (i.e. they may be upper- or lower-case).
To use a colour in a template or table you can use the hex triplet (e.g. bronze is #CD7F32) or HTML color names (e.g. red). Editors are encouraged to make use of Brewer palettes for charts, maps, and other entities, using this tool .