Skip to content

ColorizeOptions

Defined in: effects/src/colorize.ts:7

Options for the colorize preset.

color: string | number

Defined in: effects/src/colorize.ts:13

Target colour — the value white maps to. Accepts a numeric hex (0xf2c14e) or any string Pixi’s Color understands ("#f2c14e", "red", "rgb(255,128,0)", …).


optional strength?: number

Defined in: effects/src/colorize.ts:18

0..1 blend between the source and the recoloured output. Drives getIntensity. Default: 1 (full replace).