JavaScript Editor Javascript debugger     Website design 


Sets the normalized HSL color ()
bool ImagickPixel::setHSL ( float hue, float saturation, float luminosity )


This function is currently not documented; only the argument list is available.


This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Sets the color described by the ImagickPixel object using normalized values for hue, saturation and luminosity.



The normalized value for hue, described as a fractional arc (between 0 and 1) of the hue circle, where the zero value is red.


The normalized value for saturation, with 1 as full saturation.


The normalized value for luminosity, on a scale from black at 0 to white at 1, with the full HS value at 0.5 luminosity.

Return Values

Returns TRUE on success.