public function SassColour::getHsla in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/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
- phamlp/
sass/ 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,
);
}