Recently I've been wary of accessibility (a11y) of colour in my work, and I've known about the contrast ratio checker in devtools, but it's recently been upgraded and is super charged:
MY EVENTAttend ffconf.org 2018
The UK's best JS and web development conference. 8 amazing speakers, workshops, socials — find out more & get tickets today.
To enable it (as of August 2017), you need the following steps:
- Use Chrome Canary
- Enable experiments: chrome://flags/#enable-devtools-experiments (copy and paste this internal link into Canary)
- From devtools, open settings (F1)
- Open the experiments panel
shiftseven times (no, I'm not kidding)
- Check the "Color contrast ratio line in color picker"
To get the extra detail (that's shown in the screenshot above), you need to click on the contrast value and it will toggle the a11y colour information.