# forge.draw.gradient

```python
forge.draw.gradient(value: float | ArrayLike | None, lo: float, hi: float, c1: Color | str, c2: Color | str) -> Color | None | list[Color | None]
```

The colour between ``c1`` (at ``lo``) and ``c2`` (at ``hi``) for ``value``.

A missing value gives ``None`` (no colour: the drawing's default). An array gives a list.

Since Forge API 1.
