Choose a color. Searing Rays deals damage to each player equal to the number of creatures of that color that player controls.
You choose the color on resolution. Your opponent does not get to respond between the color choice and the damage happening. They need to use any damage prevention they want before you choose a color.