# `<solid>`

[Canonical page](https://nothing.graphics/docs/format/reference/solid) · [Page source on GitHub](https://github.com/gridaco/nothing/blob/main/ncf/docs/reference/solid.md)

Use one RGBA color throughout a paint's coverage.



<!-- Generated by ncf/tools/reference/generate.mjs. -->

A solid paint contributes a single color and its authored alpha through the selected operation's coverage.

## Syntax [#syntax]

### Supply a color and alpha [#supply-a-color-and-alpha]

Read the color as red 205, green 104, blue 67, and alpha 255. At the center of the rectangle the same opaque terracotta is visible.

```xml
<solid color="#CD6843FF"/>
```

[Complete .nothing source](https://github.com/gridaco/nothing/blob/main/ncf/conformance/first-scene.nothing) · [Sample checks](https://github.com/gridaco/nothing/blob/main/ncf/conformance/README.md#published-reference-examples)

## Usage context [#usage-context]

Allowed parents are [`<paint>`](https://nothing.graphics/docs/format/reference/paint).

## Attributes [#attributes]

[Property animation](https://nothing.graphics/docs/format/spec/animation#property-types-and-exceptions)

### `color` [#color]

**Value** `#RRGGBBAA` · **Required** · **Keys** Color channels

Eight hexadecimal digits giving encoded sRGB followed by linear alpha.

## Children [#children]

| Elements                                                              | Cardinality  | Declared by | Role and source order                                                                                                                                                                                                |
| --------------------------------------------------------------------- | ------------ | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`<animate>`](https://nothing.graphics/docs/format/reference/animate) | Zero or more | Animation   | A track targets one keyable property on this owner. For equal first-key times, the later track in document order wins. [Evaluating animation tracks](https://nothing.graphics/docs/format/spec/animation#evaluation) |

## Specifications [#specifications]

* [Paint](https://nothing.graphics/docs/format/spec/graphics#paint)
* [Evaluating animation tracks](https://nothing.graphics/docs/format/spec/animation#evaluation)
