Calculating Color Contrast in TypeScript using Web Content Accessibility Guidelines (WCAG)
When developing applications or websites it is important to use high color contrast between the text elements and their background to ensure they are readable for anyone with low vision impairments and color deficiencies.
There might be cases when y...
blog.cristiana.tech6 min read
Lennart Borgman
Did you perhaps invert the contrast value?