codepens/c3-color-contrast-checker/README.markdown

4 lines
406 B
Markdown
Raw Permalink Normal View History

2023-10-06 23:12:53 +02:00
# C3: Color Contrast Checker
_A Pen created at CodePen.io. Original URL: [https://codepen.io/alvaromontoro/pen/YgpWZG](https://codepen.io/alvaromontoro/pen/YgpWZG).
Interactive validator that gets two colors (in RGB or HEX), and calculates the contrast difference between the two, providing information about their accessibility based on [WCAG 2.1 criteria](https://www.w3.org/TR/WCAG/#contrast-minimum)