xacro.color module

xacro.color.colorize(msg, color, file=<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>, alt_text=None)
xacro.color.error(*args, **kwargs)
xacro.color.is_tty(stream)

Returns True if the given stream is a tty, else False

xacro.color.message(msg, *args, **kwargs)
xacro.color.warning(*args, **kwargs)