UnsupportedPaintException
The rejection of a paint value outside the /v1 color grammar.
fill and stroke accept none, hex colors (#rgb, #rrggbb, #rgba, #rrggbbaa), and the rgb()/rgba() functions. Anything else — named colors, currentColor, inherit, url() references, hsl() — is rejected rather than guessed at.