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

        final ColorHsv colorHsv = (ColorHsv) o;
        if (Double.compare(colorHsv.h, h) != 0) {
            return false;
        }
        if (Double.compare(colorHsv.s, s) != 0) {
            return false;
        }
        if (Double.compare(colorHsv.v, v) != 0) {
            return false;
        }

        return true;
    }
A constant for color blue. Color components are:

<pre>
    Hue:        240
    Saturation: 100
    Value:      100
</pre>
src/main/java/org/apache/commons/imaging/color/ColorHsv.java