Method: Sass::Script::Value::Color#hsla

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

#hslaArray<Integer>

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

Returns:

  • (Array<Integer>)

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


387
388
389
# File 'lib/sass/script/value/color.rb', line 387

def hsla
  [hue, saturation, lightness, alpha].freeze
end