Calculate the contrast ratio between 2 colors, for checking against the WCAG recommended contrast ratio for legibility.
Mark Dodwell
MIT