Module: Color

Included in:
CairoTools
Defined in:
lib/color.rb

Defined Under Namespace

Classes: Base, HSL, RGB

Instance Method Summary collapse

Instance Method Details

#hsl(*args) ⇒ Object



10
11
12
# File 'lib/color.rb', line 10

def hsl(*args)
  HSL.new(*args)
end

#rgb(*args) ⇒ Object



6
7
8
# File 'lib/color.rb', line 6

def rgb(*args)
  RGB.new(*args)
end