Skip to content

How go back to default color pallet #45

@alfaex

Description

@alfaex

How can I go to default after setting a style?

colorful.use_style('monokai')

print colorful.magenta('color')

# looked on source code and tried these without success
# colorful.use_style('default')
# colorful.use_style('x11')
# colorful.use_style(None)
# colorful.use_style('rgb')
# colorful.use_style('colornames')
# colorful.use_style('X11 rgb.txt')
# colorful.disable()
# colorful.use_8_ansi_colors()
# colorful.use_256_ansi_colors()
# colorful.use_true_colors()

colorful.use_style('TRUE_COLORS')

print colorful.greenYellow('color')

colorful.core.ColorfulAttributeError: the color "greenYellow" is unknown. Use a color in your color palette (by default: X11 rgb.txt)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions