setSvgColorMode

setSvgColorMode(object)

Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1. RGBA, HSL, HSLA is allowed in SVG 2.0 standard. Even in RGB opacity will be set through “fill-opacity” parameter

setSvgColorMode(svgColorMode)
ParameterTypeDescription
svgColorModeobject

See Also