@Override
    public boolean equals(Object obj)
    {
        boolean equals = false;
        if (obj instanceof RgbDto)
        {
            RgbDto compareTo = (RgbDto) obj;
            if (this.red == compareTo.getRed()
                && this.green == compareTo.getGreen()
                && this.blue == compareTo.getBlue())
            {
                equals = true;
            }
        }

        return equals;
    }