Color Contrast Analyzer

W3C spec

Hello World!

LumFG = LumFB = (0.2126 * R) + (0.7152 * G) + (0.0722 * B)

LumBG = LumBG = (0.2126 * R) + (0.7152 * G) + (0.0722 * B)

Contrast ratio = CR = (L1 + 0.05) / (L2 + 0.05)

Contrast ratio is >= 7, contrast is sufficient.

Contrast ratio is < 7, constrast is not sufficent.