Colors on the Web: Brightness, Difference, and Accessibility

I was doing some research a while back, trying to find a formula to compute the brightness of a color. I found the solution here. The document also gives a formula for computing the difference between two colors, and a heuristic for determining whether two colors have enough contrast to be readable on a web page. So of course I had to try them all out in AS3 and create a mini app for testing foreground and background colors for accessibility. Why not run some of your next application's interface colors through and see how they measure up?

Application - Source


About this entry