# StepColour

Colour by ordered value ranges, using an ordered (ordinal) palette.

This is an interface exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { StepColour } from "@mapcairn/core";
 
interface StepColour
```

## Properties

### field

```ts
readonly field: string;
```

The numeric field the steps are read from.

### kind

```ts
readonly kind: "steps";
```

Tells a stepped rule from the other colour rules.

### steps

```ts
readonly steps: readonly {
        readonly min: number;
        readonly label: DefinitionText;
        readonly colour: PaletteSlot;
    }[];
```

Ascending minimums; the first applies to everything below the second.

## See also

- [`DefinitionText`](https://docs.mapcairn.com/api/core/DefinitionText.md)
- [`PaletteSlot`](https://docs.mapcairn.com/api/core/PaletteSlot.md)

Source: [packages/core/src/layers/definition.ts:350](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/definition.ts#L350)
