Algosim documentation: RandomColor

RandomColor

Returns a random colour.

Syntax

Description

RandomColor() returns a colour in which each RGB coordinate is randomly chosen.

Hence, RandomColor() is functionally equivalent to

rgb(RandomReal(), RandomReal(), RandomReal()).

Examples

scale(ComputePixmap(10, 10, x, y, RandomColor()), 50)

Image 1

See also