daecatt / contrast-correct Goto Github PK
View Code? Open in Web Editor NEWContrast Correct takes a static background color and a dynamic color and returns a modified version of the dynamic color that has had its contrast increased to be readable on the provided background color according to WCAG 2.1.