Module textredux.util.color

The color module provides utility functions for color handling.

Functions

string_to_color (rgb) Convert color in '#rrggbb' format to 'bbggrr'.
color_to_string (color) Convert color in hex 'bbggrr' format to string '#rrggbb'


Functions

string_to_color (rgb)
Convert color in '#rrggbb' format to 'bbggrr'.

Parameters:

  • rgb
color_to_string (color)
Convert color in hex 'bbggrr' format to string '#rrggbb'

Parameters:

  • color