Color function

This section describes lolor function

Color function specify how subsequent items will be colored. Color function affects all items after its call, until new color is specified.

Color is specified in any format which Qt framework supports for specifying colors.

Format of function is `color(color_name)`.

Parameters:

  • color(string): Color name.

Example:

color("blue") # now blue will be used for example to color text items