def assign(value)
      value = value.simplify
      if @value.r.respond_to? :assign
        @value.r.assign value.get.r
      else
        @value.r = value.get.r
      end
      if @value.g.respond_to? :assign
        @value.g.assign value.get.g
      else
        @value.g = value.get.g
      end
      if @value.b.respond_to? :assign
        @value.b.assign value.get.b
      else
        @value.b = value.get.b
      end
      value
    end
def assign(value)
      value = value.simplify
      if @value.r.respond_to? :assign
        @value.r.assign value.get.r
      else
        @value.r = value.get.r
      end
      if @value.g.respond_to? :assign
        @value.g.assign value.get.g
      else
        @value.g = value.get.g
      end
      if @value.b.respond_to? :assign
        @value.b.assign value.get.b
      else
        @value.b = value.get.b
      end
      value
    end
Constructor for native RGB value

 @param [RGB] value Initial RGB value.
 Duplicate object

 @return [RGB_] Duplicate of +self+.
 Store new value in this object

 @param [Object] value New value for this object.

 @return [Object] Returns +value+.

 @private