getColor() Return the shape's color. polygon.getColor() Returns return color Value Type Description color Color The current color.