h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » Wimp_SetColour h2. Wimp_SetColour h5. (SWI &400E6) |_<^. Entry | | |<^. R0 |<^. Colour Value (1 byte see below) | |<^. Bits | | |<^. 0-3 |<^. Wimp Colour | |<^. 4-6 |<^. GCOL action | |/2<^. 7 |<^. 0 for foreground | |<^. 1 for background | |_<^. Exit | | |<^. R0 |<^. Corrupt | h4. Use The purpose of this call is to set the current graphic foreground or background colour and action to one of the Wimp's 16 standard colours. h4. Notes When used in non-16 colour screen modes, the Wimp will translate the colours to the closest approximation. More details on this can be found in the [[The Window Manager Colour|Colour]] section. h4. See also * [[The Window Manager Colour|Information on Colour]] * [[OS_SpriteOp|OS_SpriteOp]] * [[Wimp_SetColourMapping|Wimp_SetColourMapping]]