|
ImagickPixel::setHSLSets the normalized HSL color Beschreibung
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. Parameter-Liste
Rückgabewerte
Liefert Beispiele
Beispiel #1 Use ImagickPixel::setHSL to modify a color
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
Array
(
[r] => 26
[g] => 230
[b] => 230
[a] => 255
)
Anmerkungen
|