Overview | Methods | This Package | All Packages
Retrieves the closest solid color that the hardware will use for the specified color.
Syntax
public final Color getNearestColor( Color color )
Parameters
color
A Color object that specifies the color you want to use.
Return Value
Returns a Color object that describes the color that will be used.