next up previous contents index
Next: Personalized Colours Up: The Paint commands Previous: Paint_obj_atom

Paint_colour

  Select the current colour. The colour is be given as a colour name. There are 71 standard colours to choose from, and the list of colour names can be listed by answering with a question mark (?) in response to the prompt. The colour name is converted internally to a mysterious integer code. The current colour code is stored in the datablock .active_colour, the name of the current colour is stored in the datablock .active_colour_name. If an unknown colour input is given, the current colour remains unchanged. It is also possible to specify a colour directly using the RGB triple.