--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Provides a thin veneer over the Color module to make it seem like this is Color 0.1.0 (a class) and not Color 1.4.0 (a module). This &quot;constructor&quot; will be removed in the future.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "mode = :hsl:"
    body: <tt>values</tt> must be an array of [ hue deg, sat %, lum % ]. A Color::HSL object will be created.
  - !ruby/struct:SM::Flow::LI 
    label: "mode = :rgb:"
    body: <tt>values</tt> will either be an HTML-style colour string or an array of [ red, green, blue ] (range 0 .. 255). A Color::RGB object will be created.
  - !ruby/struct:SM::Flow::LI 
    label: "mode = :cmyk:"
    body: <tt>values</tt> must be an array of [ cyan %, magenta %, yellow %, black % ]. A Color::CMYK object will be created.
  type: :NOTE
full_name: Color::new
is_singleton: true
name: new
params: (values, mode = :rgb)
visibility: public
