Search Results
Sets the color described by the ImagickPixel object using normalized values for hue, saturation and luminosity.
Jan 2, 2020 · The ImagickPixel::setHSL () function is an inbuilt function in PHP which is used to set the color described by the ImagickPixel object using normalized values for hue, saturation and luminosity.
Définit la couleur décrite par l'objet ImagickPixel en utilisant les valeurs normalisées pour la densité, la saturation et la luminosité.
Sets the color described by the ImagickPixel object using normalized values for hue, saturation and luminosity.
Parameters hue The normalized value for hue, described as a fractional arc (between 0 and 1) of the hue circle, where the zero value is red. saturation The normalized value for saturation, with 1 as full saturation. luminosity 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.
ImagickPixel::isPixelSimilar — Check the distance between this color and another ImagickPixel::isSimilar — Check the distance between this color and another ImagickPixel::setColor — Sets the color ImagickPixel::setColorValue — Sets the normalized value of one of the channels ImagickPixel::setHSL — Sets the normalized HSL color PHP Manual
PHP Manual Sets the color described by the ImagickPixel object using normalized values for hue, saturation and luminosity.
