Next: , Previous: Querying Colors, Up: Color Reference


16.7 Defining and Initializing Colors

const function: void define_color_mp ()

Writes MetaPost code to out_stream, in order to define objects of type color within MetaPost, and set their redparts, greenparts, and blueparts.

— Static function: void initialize_colors (void)

Calls define_color_mp() (described above) for the Colors that are defined in namespace Colors (see Namespace Colors).