jak mogę porównać kolory w Javie?

Próbuję stworzyć losowy generator kolorów, ale nie chcę, aby podobne kolory pojawiły się w tablicy array

public class RandomColorGen {

public static Color RandColor() {
    Random rand = new Random();
    float r = rand.nextFloat();
    float g = rand.nextFloat();
    float b = rand.nextFloat();
    Color c = new Color(r, g, b, 1);
    return c;

}

public static ArrayList<Color> ColorList(int numOfColors) {
    ArrayList<Color> colorList = new ArrayList<Color>();
    for (int i = 0; i < numOfColors; i++) {
        Color c = RandColor();
        if(similarcolors){
            dont add
        }
        colorList.add(c);

    }
    return colorList;
}

}

Naprawdę jestem zdezorientowany, proszę o pomoc :)

questionAnswers(3)

yourAnswerToTheQuestion