1.1.0 • Published 5 years ago
react-color-contrast-table v1.1.0
react-color-contrast-table
Takes an array of colors and generates a table showing WCAG scores for all possible color combinations
Install
npm install --save react-color-contrast-table
The package generates a chart similar to this one
Props
This packages uses my other color contrast helper and requires a prop of colors
of the shape specified there - an array of color value strings, or an array of objects containing {name, value}
.
License
MIT © ryanfiller