Luminous intensity calculator to check if a color is bright or dark