FixHue
Returns a colour or a pixmap with its hue set to a fixed value.
Syntax
-
FixHue(c, h)
-
c
is a colour -
h
is a real number
-
-
FixHue(pm, h)
-
pm
is a pixmap -
h
is a real number
-
Description
If c
is a colour, then FixHue(c, h)
returns the colour with the same saturation and value as c
but with hue h
.
If pm
is a pixmap, then FixHue(pm, h)
returns the pixmap obtained from pm
by setting the hue each pixel to h
but keeping the original saturation and value.
Examples
FixHue(ExampleData("Sally"), 60)