public static String colorToHexString(final Color c) {
    final String cs = Integer.toHexString(c.getRGB());
    return cs.substring(2);
  }
Converts an ASCII string into a hex string.

<p>Example: AAA => 414141

@param asciiString The ASCII string to convert.
@return The converted hex string.
java/zylib/src/main/java/com/google/security/zynamics/zylib/general/Convert.java