CSS · Properties — Filter Effects

flood-color

The CSS flood-color property. Initial value: black. Not inherited.

Syntax
flood-color: <color>

Example

Try it

Notes

Media: visual. Applies to: limitedSVGElementsFloodAndDropShadow. Computed value: asSpecified.

More in this group

backdrop-filter color-interpolation-filters flood-opacity lighting-color

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course