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