The flood-color
attribute indicates what color to use to flood the current filter primitive subregion defined through the <feFlood>
element. 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 flood-color
attribute
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | ? | ? | ? | ? | ? | ? |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | ? | ? | ? | ? | ? | ? | ? |
© 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/flood-color