a square object with different colors