Skip to content

styleColor beta ​

Function of @v12-engine/editor

ts
export declare function styleColor(layer: Pick<CellLayerDef, 'color'>, style: Pick<CellLayerValue, 'value' | 'color'>): Rgb;

The colour a style is shown in (its chip, the Grass styles overlay): its own, else the layer's for the first and a colour of its own for the others, round the wheel from the layer's by its value