colorToHex

public static String colorToHex(Color color)

Converts a color to a hex string.

Return

The hex string

Parameters

color

The color