# Gimp.rgba_parse_css

    @accepts(Gimp.RGB, [unicode], int)
    @returns(bool)
    def rgba_parse_css(rgba, css, len):
        # Python wrapper for gimp_rgba_parse_css()

Similar to Gimp.RGB.parse_css but handles RGB colors with alpha channel in the numerical CSS notation (rgba(255,0,0,255) or rgba(100%,0%,0%,1000%)).

It doesn't handle the hexadecimal notation or color names because they leave the alpha channel unspecified.

Since 2.2

rgba

  a Gimp.RGB struct used to return the parsed color

css

  a string describing a color in CSS notation

len

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

Returns