Also, change the access modifier on lines 17 through 19 to 'protected' (on previous code post -- not what you just posted):
protected Color color1; protected Color color2; protected Color color3; // or just protected Color color1, color2, color3;