This JavaScript is excellent for testing page background and font colors together. It provides the hexadecimal numbers for the colors too.
Over 2000+ free Javascript at JavaScriptBank.com Website