CSS · Properties — Filter Effects

lighting-color

The CSS lighting-color property. Initial value: white. Not inherited.

Syntax
lighting-color: <color>

Example

Try it

Notes

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

More in this group

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

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