class ColorUtilities {

    public static boolean isEqualIgnoreAlpha(Color c1, Color c2)
    {
        boolean equal = false;
        if (c1 == null && c2 == null)
        {
            equal = true;
        }
        else if (c1 != null && c2 != null)
        {
            equal = c1.getRed() == c2.getRed() && c1.getBlue() == c2.getBlue() && c1.getGreen() == c2.getGreen();
        }
        return equal;
    }

    private  ColorUtilities();

}