---
title: lightColor
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/sklightnode/lightcolor
---

# lightColor

The diffuse and specular color of the light source.

## Declaration

```swift
var lightColor: UIColor { get set }
```

```swift
var lightColor: NSColor { get set }
```

## Discussion

Discussion The default value is white. If you are using custom shaders, you can substitute an SKUniform object instead.

## See Also

### Configuring the Lighting Properties

- [ambientColor](spritekit/sklightnode/ambientcolor.md)
- [shadowColor](spritekit/sklightnode/shadowcolor.md)
- [falloff](spritekit/sklightnode/falloff.md)
