class colors:
    BLACK: str = "\033[30m"
    RED: str = "\033[31m"
    GREEN: str = "\033[32m"
    YELLOW: str = "\033[33m"
    BLUE: str = "\033[34m"
    MAGENTA: str = "\033[35m"
    CYAN: str = "\033[36m"
    WHITE: str = "\033[37m"
    GRAY: str = "\033[90m"
    BRED: str = "\033[91m"
    BGREEN: str = "\033[92m"
    BYELLOW: str = "\033[93m"
    BBLUE: str = "\033[94m"
    BMAGENTA: str = "\033[95m"
    BCYAN: str = "\033[96m"
    BWHITE: str = "\033[97m"
    ENDC: str = "\033[0m"


def color_text(text: str, color: str) -> str:
    return f'{color}{text}'


def printclr(text: str, color: str) -> str:
    print(f'{color}{text}{colors.ENDC}')
