# Gimp.color_parse_name

    @accepts([unicode], int)
    @returns(Gegl.Color)
    def color_parse_name(name, len):
        # Python wrapper for gimp_color_parse_name()

Attempts to parse a color name. This function accepts [SVG 1.1 color keywords](https://www.w3.org/TR/SVG11/types.html#ColorKeywords).

Since 2.2

name

  a color name (in UTF-8 encoding)

len

  the length of name, in bytes. or -1 if name is nul-terminated

Returns