Pen::getColor() Syntax Java Return Pen::getColor() Retrieves the current color of the pen. Syntax Java .getColor() Return Color getColor()