urbanairship-core/src/main/java/com/urbanairship/util/ColorUtils.java
public static String convertToString(@ColorInt int color) {
        String hex = Integer.toHexString(color);
        while (hex.length() < 8) {
            hex = hex + "0";
        }

        return "#" + hex;
    }
/**
     * Converts a color int to a #AARRGGBB color format string.
     *
     * @param color The color to covert.
     * @return The color string.
     */
Converts a color int to a #AARRGGBB color format string.
@param color The color to covert.
@return The color string.
Converts a color int to a #AARRGGBB color format string . @param color The color to covert . @return The color string .
public static String convertToString(@ColorInt int color) {
        String hex = Integer.toHexString(color);
        while (hex.length() < 8) {
            hex = hex + "0";
        }
        return "#" + hex;
    }
public static String convertToString ( @ ColorInt int color ) { String hex = Integer . toHexString ( color ) ; while ( hex . length ( ) < 8 ) { hex = hex + "0" ; } return "#" + hex ; }
Converts a color int to a #AARRGGBB color format string.
Converts a color int to a #AARRGGBB color format string .