background-color – CSS: Cascading Style Sheets | MDN

This post was originally published on this site

It is important to ensure that the contrast ratio between the background color and the color of the text placed over it is high enough that people experiencing low vision conditions will be able to read the content of the page. Color contrast ratio is determined by comparing the luminance of the text and background color values.

Stay up to date
Register now to get updates on promotions and coupons.

Shopping cart

×