# sky-value-range

> Talos next · Since 0.6; changed in 0.7

A `sky` number is outside its stated range, or is NaN or infinite, or a `sky.background` colour is not a hex colour.

| | |
|---|---|
| Severity | `error` |
| Source | `contract` |
| Offers a fix patch | no |

## Messages

The message opens with the code; `<…>` stands for a value.

- `sky.atmosphere.<…> is <…>; it must be within <…>..<…>`
- `sky.background.<…> "<…>" is not a hex colour; write "#RGB" or "#RRGGBB"`
- `sky.clouds.<…> is <…>; it must be within <…>..<…>`
- `sky.clouds.windDirectionRad is <…>; it must be finite`
- `sky.intensity is <…>; it must be finite and not negative`
- `sky.rotation is <…>; it must be a finite angle in radians`
- `sky.sun.<…> is <…>; it must be a finite angle in radians`
- `sky.sun.elevation is <…>; it is an angle above the horizon in radians within -<…>..<…>, so it looks like degrees (that would be <…> radians)`
- `sky.turbidity is <…>; it must be within <…>..<…>`

## Since / changed

See the version chips above and what changed.
