You want to decorate a wall with 4 tiles in a row. There are 2 tiles each of red, green and blue available. You want to use all 3 colours. How many different ways can the tiles be arranged?