ToGreyscale
Returns a colour or a pixmap converted to greyscale.
Syntax
-
ToGreyscale(c)
-
c
is a colour
-
-
ToGreyscale(pm)
-
pm
is a pixmap
-
Description
If c
is a colour, then ToGreyscale(c)
returns c
with its saturation set to 0
.
If pm
is a pixmap, then ToGreyscale(pm)
returns pm
converted to greyscale.
Examples
ToGreyscale(ExampleData("harvestman"))