@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        final ColorCieLch that = (ColorCieLch) o;
        if (Double.compare(that.c, c) != 0) {
            return false;
        }
        if (Double.compare(that.h, h) != 0) {
            return false;
        }
        if (Double.compare(that.l, l) != 0) {
            return false;
        }

        return true;
    }
Constructs a new instance.

@param l L* lightness.
@param c chroma.
@param h hue.
src/main/java/org/apache/commons/imaging/color/ColorCieLch.java