---
title: GCColor
framework: gamecontroller
role: symbol
role_heading: Class
path: gamecontroller/gccolor
---

# GCColor

The color of a device light.

## Declaration

```swift
class GCColor
```

## Topics

### Creating colors

- [init(red:green:blue:)](gamecontroller/gccolor/init(red:green:blue:).md)

### Setting color values

- [red](gamecontroller/gccolor/red.md)
- [green](gamecontroller/gccolor/green.md)
- [blue](gamecontroller/gccolor/blue.md)

### Initializers

- [init(coder:)](gamecontroller/gccolor/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Getting the light’s color

- [color](gamecontroller/gcdevicelight/color.md)
