Make Colour

Builds a colour from the specified components.

Syntax

colour = Make Colour (red,green,blue)

Description

All colours are composed of red, green and blue components. These values can be between 0 and 255.

Any colour can be built from this command. e.g.

colour = Make Colour (255,255,255)

This would build white because all components are set to 255.

There are default colours which can also be used to make code more readable. These are...

White
Black
Red
Green
Blue
Yellow

If you need to use any other colours though you will have to make them from the components yourself.


Table of contents