from termcolor import colored, cprint

# Print text with a specific color
print(colored('Hello, World!', 'red', force_color=True))

# Print text with a background color
print(colored('Success!', 'white', 'on_green', force_color=True))

# Print text with multiple attributes
print(colored('Warning!', 'yellow', attrs=['bold', 'underline'],
              force_color=True))

# Using cprint for direct printing
cprint('Error!', 'red', 'on_white', attrs=['blink'],
       force_color=True)