Method: Sass::Script::Color#hsl

Defined in:
lib/sass/script/color.rb

#hslArray<Fixnum>

Returns the hue, saturation, and lightness components of the color.

Returns:

  • (Array<Fixnum>)

    A frozen three-element array of the hue, saturation, and lightness values (respectively) of the color



323
324
325
# File 'lib/sass/script/color.rb', line 323

def hsl
  [hue, saturation, lightness].freeze
end