def parse_color_string(css_string):
    tokens = list(tokenize_grouped(css_string.strip()))
    if len(tokens) == 1:
        return parse_color(tokens[0])
Parse a CSS string as a color value.
dataset/ETHPy150Open FichteFoll/CSScheme/tinycsscheme/tinycss/color3.py/parse_color_string