« SVG Attribute reference home
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.
Usage context
Categories | Presentation attribute |
---|---|
Value | currentColor | <color> | <icccolor> | inherit |
Initial value | black |
Animatable | Yes |
Normative document | SVG 1.1 (2nd Edition) |
Examples
Elements
The following elements can use the stop-color
attribute