---
title: color
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/skspritenode/color
---

# color

The sprite’s color.

## Declaration

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

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

## Mentioned in

Tinting a Sprite

## Discussion

Discussion If the texture property is non-nil, the red, green, and blue values of the color property are blended with the texture before the texture is drawn and the alpha property is ignored. If the texture property is nil, the color (including the alpha component) is used to draw a single-color rectangle.

## See Also

### Tinting a Sprite

- [Tinting a Sprite](spritekit/tinting-a-sprite.md)
- [colorBlendFactor](spritekit/skspritenode/colorblendfactor.md)
