Press 'r' for randomness.
Press 'h' to toggle interface.
Regenerate

View on a bigger screen for more control.

Gradient 1

Assign a random colour to corner cells and create interpolation between them.

Logic: Each corner cell is randomly assigned a colour from the predefined palette of five colours. Next, a smooth colour interpolation is created in the remaining cells.