The d3 selection to apply the CSS class to
The name of the class to be applied
The hex code of the computed color
Return contrast ratio between two colors Based on implementation from chroma.js by Gregor Aisch (gka) (licensed under BSD) chroma.js may be found here: https://github.com/gka/chroma.js License may be found here: https://github.com/gka/chroma.js/blob/master/LICENSE see http://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef
Returns a brighter copy of this color. Each channel is multiplied by 0.7 ^ -factor. Channel values are capped at the maximum value of 255, and the minimum value of 30.
Generated using TypeDoc
Gets the Hex Code of the color resulting by applying the className CSS class to the colorTester selection. Returns null if the tester is transparent.