You are here

private function CSSmin::hslToHex in Advanced CSS/JS Aggregation 7.2

File

advagg_css_compress/yui/CSSMin.inc, line 1029

Class

CSSmin

Code

private function hslToHex($matches) {
  $hslValues = explode(',', $matches[1]);
  $rgbColors = $this
    ->hslToRgb($hslValues);
  return $this
    ->rgbToHex(array(
    '',
    implode(',', $rgbColors),
    $matches[2],
  ));
}