@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        FractalColourScheme other = (FractalColourScheme) obj;
        if (colours == null) {
            if (other.colours != null)
                return false;
        } else if (!colours.equals(other.colours))
            return false;
        if (gridline == null) {
            if (other.gridline != null)
                return false;
        } else if (!gridline.equals(other.gridline))
            return false;
        return true;
    }