Defines graphics foreground and background colours. Identical in use to BASIC statement GCOL
.
VDU 18,plotmode,col
plotmode | 0|1|2|3|4 |
col | Colour |
Plotmode specifies how the colour is to be placed on the screen, as tabulated below.
Colour reference is the logical colour, which may differ to the actual colour.
Plotmode | Action |
---|---|
0 | Plot the colour specified |
1 | OR the specified colour with that already there |
2 | AND the specified colour with that already there |
3 | EOR (Exclusive-OR) the specified colour with that already there |
4 | Invert the colour already there |