public static int getMaxDistance(final Color first, final Color second) {
        int distance = Math.abs(first.getRed() - second.getRed());
        if (Math.abs(first.getGreen() - second.getGreen()) > distance) {
            distance = Math.abs(first.getGreen() - second.getGreen());
        }
        if (Math.abs(first.getBlue() - second.getBlue()) > distance) {
            distance = Math.abs(first.getBlue() - second.getBlue());
        }
        return Math.abs(distance);
    }
Returns the largest absolute difference between the red, green and blue
values of the two colors.

@param first
           The first color to test.
@param second
           The second color to test.
@return The largest absolute difference between the red, green and blue
        values of the two colors, will be a value between 0 and 255.
src/main/java/com/kodedu/other/ColorUtils.java