Getfillcolor Function Example

Details

Action

A function that returns the RGB color (list #3) currently used to fill polygons or triangles, or to draw a graph.

make rgb getfillcolor();

fillcolor(list(first(rgb), first(rest(rgb)), remainder(first(rest(rest(rgb)))+100,256)));

Sets the fillcolor to the next color in the cycle.