If you have 4 (four) objects each having one of these colors, then there are 4! = 1*2*3*4 = 24 different ways to arrange them in a row.