Kategorien
Linktipps

☞ Easy color contrast ratios | Lea Verou

However, I found that my workflow for checking a contrast ratio with them was far from ideal. I had to convert my CSS colors to hex notation (which I don’t often use myself anymore), check the contrast ratio, then adjust the colors as necessary, covert again etc. In addition, I had to adjust the lightness of the colors with a blindfold, without being able to see the difference my adjustments would make to the contrast ratio. When using semi-transparent colors, it was even worse: Since WCAG only describes an algorithm for opaque colors, all contrast tools only expect that. So, I had to calculate the resulting opaque colors after alpha blending had taken place. After doing that for a few days, I got so fed up that I decided to make my own tool.

Lea Verou hat ein Tool zur Farbkontrast-Kontrolle gebaut, dass ein paar mehr Eingaben als die bislang üblichen entgegen nimmt.

Easy color contrast ratios | Lea Verou