@SuppressLint("DefaultLocale")
    private static int getHtmlColor(String color) {
    """
	Converts an HTML color (named or numeric) to an integer RGB value.
	
	@param color Non-null color string.
	@return A color value, or {@code -1} if the color string could not be interpreted.
    """
        Integer i = COLORS.get(color.toLowerCase());
        if (i != null) {
            return i;
        } else {
            try {
                return convertValueToInt(color, -1);
            } catch (NumberFormatException nfe) {
                return -1;
            }
        }
    }
@SuppressLint("DefaultLocale")
    private static int getHtmlColor(String color) {
        Integer i = COLORS.get(color.toLowerCase());
        if (i != null) {
            return i;
        } else {
            try {
                return convertValueToInt(color, -1);
            } catch (NumberFormatException nfe) {
                return -1;
            }
        }
    }
@ SuppressLint ( "DefaultLocale" ) private static int getHtmlColor ( String color ) { Integer i = COLORS . get ( color . toLowerCase ( ) ) ; if ( i != null ) { return i ; } else { try { return convertValueToInt ( color , - 1 ) ; } catch ( NumberFormatException nfe ) { return - 1 ; } } }
Converts an HTML color (named or numeric) to an integer RGB value.

@param color Non-null color string.
@return A color value, or {@code -1} if the color string could not be interpreted.
Converts an HTML color ( named or numeric ) to an integer RGB value .