Module:Color contrast/doc

Usage
To use this module, you may use one of the above listed templates or invoke the module directly

To compute relative luminescence
 * or

To compute a contrast ratio between two colors
 * or

To determine which of two colors (color2a and color2b) has the greater contrast ratio with a particular color (color1)
 * or

To compute the contrast ratio between the background and text colors specified in a css style string