public function SassColour::getHsla in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/script/literals/SassColour.php \SassColour::getHsla()
Returns an array with the HSL and alpha components of this colour.
Return value
array the HSL and alpha components of this colour
File
- phpsass/
script/ literals/ SassColour.php, line 713
Class
- SassColour
- SassColour class. A SassScript object representing a CSS colour.
Code
public function getHsla() {
return array(
$this
->getHue(),
$this
->getSaturation(),
$this
->getLightness(),
$this->alpha,
);
}