new (Color)

    # File lib/color.rb, line 130
      def self.new(values, mode = :rgb)
        warn "Color.new has been deprecated. Use Color::#{mode.to_s.upcase}.new instead."
        color = case mode
                when :hsl
                  Color::HSL.new(*values)
                when :rgb
                  values = [ values ].flatten
                  if values.size == 1
                    Color::RGB.from_html(*values)
                  else
                    Color::RGB.new(*values)
                  end
                when :cmyk
                  Color::CMYK.new(*values)
                end
        color.to_hsl
      end