ToGreyscale
Returns a colour or a pixmap converted to greyscale.
Syntax
-
ToGreyscale(c)-
cis a colour
-
-
ToGreyscale(pm)-
pmis 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"))
