Color By Velocity Direction SH2 component as seen in the Scene Inspector
The Color By Velocity Direction SH2 component samples a ColorX spherical harmonic based on the velocity vector of a particle in it's simulation space. that sampled color becomes the particle's color.