lighting-color property
Defines the color of the light source for filter primitives feDiffuseLighting and feSpecularLighting.
This property is read/write.
![]() ![]() |
Syntax
lighting-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 | feDiffuseLighting and feSpecularLighting elements |
|---|---|
| Media | visual |
| Inherited | 0 |
| Initial Value | white |
Standards information
- Scalable Vector Graphics: Filter Effects, Section 15.8.5
Remarks
As of Microsoft Edge, this presentation attribute is animatable with CSS Animations and CSS Transitions.
See also
Show:

