h6. [[Programmer's Reference Manuals]] h6(. » [[VDU Codes]] h6((. » VDU 18 h2. VDU 18 (&12) h4. Use Defines graphics foreground and background colours. Identical in use to BASIC statement @GCOL@. h4. Syntax VDU 18,__plotmode__,__col__ h4. Parameters |<^{width:8em}. _plotmode_|<^. 0|1|2|3|4| |<^. _col_|<^. Colour| h4. Notes 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. table(bordered). |_<^{width:8em}. 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| h4. See also * [[VDU 17|VDU 17]] * [[VDU 19|VDU 19]]