Splitting of light into its component colours is known as:
Dispersion
Splitting of light into its constituent colours is known as dispersion of light. This happens through multiple refractions where the constituent colours of light deviate at different angles.