---
title: constantColor
framework: GLKit
role: symbol
role_heading: Instance Property
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: glkit/glkbaseeffect/constantcolor
---

# constantColor

A constant color, used when per-vertex color data is not provided.

## Declaration

```swift
var constantColor: GLKVector4 { get set }
```

## See Also

### Configuring Color Information

- [colorMaterialEnabled](glkit/glkbaseeffect/colormaterialenabled.md)
- [useConstantColor](glkit/glkbaseeffect/useconstantcolor.md)
