CSS flood-color Property Reference
The CSS flood-color property is a standard property in Filter Effects. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
flood-color overview
The CSS flood-color property is a standard property in Filter Effects. Review its formal syntax, computed behavior, and practical declarations.
The property is not inherited by default. Use an explicit global keyword when inheritance is intended.
Syntax and formal definition
| Field | Value |
|---|---|
| Formal syntax | <color> |
| Initial value | black |
| Applies to | limitedSVGElementsFloodAndDropShadow |
| Inherited | No |
| Percentages | no |
| Computed value | asSpecified |
| Animation type | byComputedValue |
| Media | visual |
| Specification group | Filter Effects |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set flood-color. The initial and inherit global keywords remain available even when a property-specific value is preferable.
CSS
.reset-example {
flood-color: initial;
}
.inherit-example {
flood-color: inherit;
}
@supports (flood-color: initial) {
.supported {
flood-color: initial;
}
}