added the color of the pin for pin.java