def to_h
      hash = {}
      [:bri, :hue, :sat].each do |attr|
        value = send(attr)
        hash[attr] = value if value
      end
      hash
    end
def to_h
      hash = {}
      [:bri, :hue, :sat].each do |attr|
        value = send(attr)
        hash[attr] = value if value
      end
      hash
    end
@param opts [Hash] the color options
 @option opts :bri The brightness
 @option opts :hue The hue
 @option opts :sat The saturation
 Returns a hash containing the color options.

 @return [Hash] the options