write each using rule method: red,orange,yellow,green,blue,indigo,violet