---
title: "init(color:)"
framework: coreimage
role: symbol
role_heading: Initializer
path: "coreimage/ciimage/init(color:)"
---

# init(color:)

Initializes an image of infinite extent whose entire content is the specified color.

## Declaration

```swift
init(color: CIColor)
```

## Parameters

- `color`: A color object.

## Return Value

Return Value The initialized image object.

## See Also

### Creating Solid Colors

- [black](coreimage/ciimage/black.md)
- [blue](coreimage/ciimage/blue.md)
- [clear](coreimage/ciimage/clear.md)
- [cyan](coreimage/ciimage/cyan.md)
- [gray](coreimage/ciimage/gray.md)
- [green](coreimage/ciimage/green.md)
- [magenta](coreimage/ciimage/magenta.md)
- [red](coreimage/ciimage/red.md)
- [white](coreimage/ciimage/white.md)
- [yellow](coreimage/ciimage/yellow.md)
