Module Colours
#include <macaw.h>
Functions
- pal
- Changes what one colour number looks like, everywhere on the screen, until you put it back with
palreset. - palreset
- Puts every colour back to how it normally looks, after
pal. - drawpal
- From now on, anything you draw in one colour is drawn in another instead.
- drawpalreset
- Stops swapping colours, so every colour draws as itself again.
- nearestcolor
- Finds which of the 256 colours is closest to a mix of red, green and blue, as they look now.