The dazzling color light scatters from your fingers. Roll 6d10 once; the result is the total health of the creatures affected by the spell. Creatures in the 15-foot cone with you as the source are affected by the spell in descending order of remaining health (stun creatures and creatures that cannot see objects are ignored when it is effective).
Color Spray 5e
Calsses: Sorcerer, Wizard
Casting Time: 1 Action
Components: V, S, M
Duration: 1 round
When calculating the creatures affected by the spell, start with the creature with the lowest remaining health. Each subject creature is blinded until the end of your next turn.
After the total health of the spell roll is subtracted from the health of a creature subject to the spell, the remainder is used to calculate whether the person with a higher health is affected by the spell. The remaining life value of the creature must be less than or equal to the remainder spell to successfully affect the creature.
When using a spell slot of 2 or higher to cast this spell, every time the spell slot you use is one level higher than the level of 1, the spell roll increases by 2d10.