@motion-script/core / DuotoneOptions
Interface: DuotoneOptions
Defined in: attributes/shape/effects/chain.ts:273
Two-colour luminance ramp. Scalar shorthand sets amount.
Extends
Properties
amount?
optionalamount?:number
Defined in: attributes/shape/effects/chain.ts:275
0–1 blend from the original colours to the full ramp (default 1).
highlights?
optionalhighlights?:Color
Defined in: attributes/shape/effects/chain.ts:279
Colour the brightest tones map to (default 'white').
mode?
optionalmode?:EffectMode
Defined in: attributes/shape/effects/effect-data.ts:83
Inherited from
EffectOptions.mode
shadows?
optionalshadows?:Color
Defined in: attributes/shape/effects/chain.ts:277
Colour the darkest tones map to (default 'black').