def tidy_color_name(word: str) -> str:
    """Tidy up a string to make it suitable for a color name in a palette
    This replaces whitespace with underscores, and lowers the text

    Args:
        word (str): Color name to tidy up

    Returns:
        str: Tidied color name
    """
    return "".join([c for c in word if c.isalnum()]).lower()