Layers > Random Color

Randomly assigns colors to layers that do not already have color assigned.

Layers that already have colors assigned will retain their original color.