The wall of colour

This wall is made from three different colours of bricks, red, yellow and white.
White bricks cost 1 €, red bricks cost 1.50 € and yellow bricks cost 2 €.

 

Aim : Paint the wall with minimum cost.

Rules :
The bricks cannot touch other bricks of the same colour.

 

To change the colour of the bricks, just click on them.