A cone of colors springs forth from the character's hand. The closest 1d6 creatures in the cone are affected. The spell affects each subject according to its HD:
Up to 2: Unconscious for 2d4 rounds, then blinded for 1d4 rounds, and then stunned for 1 round. (Only living creatures are knocked unconscious.)
3 or 4: Blinded for 1d4 rounds, then stunned for 1 round.
5 or more: Stunned for 1 round.
In addition to the obvious effects, a blinded creature suffers a 50% miss chance in combat (all opponents have full concealment), loses any Dexterity bonus to AC, grants a +2 bonus to attackers' attack rolls (they are effectively invisible), moves at half speed, and suffers a -4 penalty on Search checks and most Strength- and Dexterity-based skills.
A stunned creature can't act and loses any Dexterity bonus to AC. Attackers gain +2 bonuses to attack it.
Sightless creatures are not affected by color spray.