flood-color property
Specifies the color used to flood the current filter-primitive subregion.
This property is read/write.
![]() ![]() |
Syntax
flood-color: currentColor |
<color>
[
<icccolor>
]? | inherit
Property values
One of the following values.
currentColor-
Use the indirect color value specified by the color property.
- color
-
Any color keyword, or color function value, such as rgb(), rgba(), hsl(), or hsla().
- icccolor
-
An ICC color specification.
inherit-
Use the computed value of this property from an ancestor element.
CSS information
| Applies To | feFlood elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value | black |
Standards information
- Scalable Vector Graphics: Filter Effects, Section 15.16
Remarks
As of Microsoft Edge, this presentation attribute is animatable with CSS Animations and CSS Transitions.
See also
Show:

