Answer: frequency
The frequency of a wave is how much times a wave passes through a given spot/point.
So, the answer is frequency. Frequencies have wavelengths that can be different colors.