ShiftHue
Returns a colour or a pixmap with its hue translated by a specified amount.
Syntax
-
ShiftHue(c, δ)-
cis a colour -
δis a real number
-
-
ShiftHue(pm, δ)-
pmis a pixmap -
δis a real number
-
Description
If c is a colour, then ShiftHue(c, δ) returns the colour with the same saturation and value as c but with its hue translated by δ degrees.
If pm is a pixmap, then ShiftHue(pm, δ) returns the pixmap obtained from pm by adding δ degrees to the hue of each pixel but keeping its original saturation and value.
Examples
ShiftHue(ExampleData("Sally"), 60)
