Search results
Results from the WOW.Com Content Network
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).
This template is used on approximately 157,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage.
For text against a white background, the following CSS colors do not meet the minimum contrast ratio (4.5:1) specified by Web Content Accessibility Guidelines (WCAG) 2.0 Level AA. Contrast [ d ] Color sample
To compute the contrast ratio between the background and text colors specified in a css style string: {{#invoke:Color contrast|styleratio|css style statement string|default background color|default text color}}
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Donate
This template checks for compliance with WCAG G17, i.e. that a background–foreground colour combination has got a contrast ratio of more than 4.5:1.It takes two arguments, the base colour value, and the tracking category, category, to place non-compliant transclusions in.
Language links are at the top of the page across from the title.
In each row, the "base color" is the simplest representation of the hue. The other colors are derived from the base color by varying its lightness in HSL to achieve the necessary WCAG contrast ratio, which is defined as a ratio of slightly modified CIE relative luminance values.