---
title: color1
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlcheckerboardtexture/color1
---

# color1

The color for half of the squares in the checkerboard pattern.

## Declaration

```swift
var color1: CGColor? { get set }
```

## Discussion

Discussion This color appears in the top left square of the generated pattern, and in alternate squares thereafter. Changing the divisions, color1, or color2 properties invalidates the cache, causing Model I/O to regenerate texel data the next time it is needed.

## See Also

### Configuring the Checkerboard Pattern

- [color2](modelio/mdlcheckerboardtexture/color2.md)
- [divisions](modelio/mdlcheckerboardtexture/divisions.md)
