Source

webcolour /

Filename Size Date modified Message
scripts
54 B
1.1 KB
527 B
752 B
4.3 KB

webcolour offers some simple tools for checking the accessibility of web colours. It provides functions to parse web colours expressed in a hexadecimal format, compute the contrast ratio between two colours and determine the level of WCAG 2.0 conformance.

The WCAG 2.0 Luminosity Contrast Ratio algorithm is used; for more details, see Guideline 1.4.3 and the glossary definitions of contrast ratio & relative luminance in the WCAG 2.0 document, http://www.w3.org/TR/2008/REC-WCAG-20081211/.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.