what property or properties of light determine whether it is blue or red or ultraviolet or any other type of light in the electromagnetic spectrum?