Direct link to the article A Whole Bunch of Places to Consider Contrast in a Single Paragraph

A Whole Bunch of Places to Consider Contrast in a Single Paragraph

When we’re thinking about choosing colors in design, we’re always thinking about accessibility. Whenever colors touch, there is contrast and, if we’re talking about the color contrast of text, it needs to be high enough to be readable. This benefits …

Avatar of Chris Coyier
Chris Coyier on (Updated on )
Direct link to the article CSS Variables + calc() + rgb() = Enforcing High Contrast Colors

CSS Variables + calc() + rgb() = Enforcing High Contrast Colors

As you may know, the recent updates and additions to CSS are extremely powerful. From Flexbox to Grid, and — what we’re concerned about here — Custom Properties (aka CSS variables), all of which make robust and dynamic …

Avatar of Josh Bader
Josh Bader on (Updated on )