w3 luminance formula, minor layout changes