public function SassColour::getRgb in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/script/literals/SassColour.php \SassColour::getRgb()
* Returns an array with the RGB components of this colour. *
Return value
array the RGB components of this colour
File
- phamlp/
sass/ script/ literals/ SassColour.php, line 689
Class
- SassColour
- SassColour class. A SassScript object representing a CSS colour.
Code
public function getRgb() {
return array(
$this->red,
$this->green,
$this->blue,
);
}