# File lib/gd2/color.rb, line 140
    def eql?(other)
      self == other &&
        (palette.nil? || other.palette.nil? ||
          (palette == other.palette && index == other.index))
    end