Calculate the relative luminance, or brightness, of a color. Accepts values 0-255 for R, G, B.