The stop-color
attribute indicates what color to use at that gradient stop. The keyword currentColor
and ICC colors can be specified in the same manner as within a <paint> specification for the fill
and stroke
attributes.
Categories | Presentation attribute |
---|---|
Value | currentColor | <color> | <icccolor> | inherit |
Initial value | black |
Animatable | Yes |
Normative document | SVG 1.1 (2nd Edition) |
The following elements can use the stop-color
attribute
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stop-color