
shadowColor
- Returns the color of the shadows
- float list [ r, g, b]
- r: Red Channel
Range: 0.00 to 1.00
- g: Green Channel
Range: 0.00 to 1.00
- b: Blue Channel
Range 0.00 to 1.00
Shadows work with Spot and Sun lamps
- Properties menu >> Object Data >> Shadow checkbox
- Properties menu >> Object Data >> Shadow

Sample Code
################## get the shadow color
# import bge
import bge
# get current scene
scene = bge.logic.getCurrentScene()
# get a list of the lights in the scene
lightList = scene.lights
# get the spotlight named Spot_Light
light = lightList["Spot_Light"]
# get shadow color
color_Shadow = light.shadowColor