protected function lib_saturate($args) { $value = $args[0]; if ($value[0] === 'number') { return null; } $color = $this->assertColor($value); $amount = 100 * $this->coercePercent($args[1]); return $this->adjustHsl($color, 2, $amount); }