lighting-color

« SVG Attribute reference home

The lighting-color attribute defines the color of the light source for filter primitives elements <feDiffuseLighting> and <feSpecularLighting>.

Usage context

Categories Presentation attribute
Value currentColor | <color> | <icccolor> | inherit
Initial value white
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

Examples

Elements

The following elements can use the lighting-color attribute

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support ? ? ? ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? ? ? ? ? ? ?

Document Tags and Contributors

Contributors to this page: connorshea, Jeremie, ratcliffe_mike
Last updated by: connorshea,