---
title: "Fill.Color"
description: "Fills with a solid [GraphicsColor]."
type: "class"
lastmod: "2026-09-24"
---
## API Reference

> Source set: Common

```kotlin
public class Color(public val color: GraphicsColor) : Fill()
```

Fills with a solid `GraphicsColor`.

## Properties

### isColor

> Source set: Common

```kotlin
override val isColor: Boolean
```

### lerpTarget

> Source set: Common

```kotlin
override val lerpTarget: Any
```

## Functions

### asColor

> Source set: Common

```kotlin
override fun asColor(): GraphicsColor
```

### asBrush

> Source set: Common

```kotlin
override fun asBrush(): GraphicsBrush
```

### equals

> Source set: Common

```kotlin
override fun equals(other: Any?): Boolean
```

### hashCode

> Source set: Common

```kotlin
override fun hashCode(): Int
```

### toString

> Source set: Common

```kotlin
override fun toString(): String
```
