|
ImagickPixel::setHSLSets the normalized HSL color Description
public bool ImagickPixel::setHSL(float
$hue, float $saturation, float $luminosity)Sets the color described by the ImagickPixel object using normalized values for hue, saturation and luminosity. Parameters
Return Values
Returns Examples
Example #1 Use ImagickPixel::setHSL to modify a color The above example will output:
Array
(
[r] => 26
[g] => 230
[b] => 230
[a] => 255
)
Notes
|