@motion-script/core / ColorAdjustmentFilter
Interface: ColorAdjustmentFilter
Defined in: attributes/shape/filters/implementations/color-adjustment.ts:8
A collection of photographic-style tonal and color adjustments. All fields are optional; omitted fields use their neutral default.
Properties
brightness?
optionalbrightness?:number
Defined in: attributes/shape/filters/implementations/color-adjustment.ts:11
-1 to 1 (0 = unchanged). Shifts the overall lightness without clipping like exposure does.
contrast?
optionalcontrast?:number
Defined in: attributes/shape/filters/implementations/color-adjustment.ts:13
0 to 2 (1 = unchanged). Spreads highlights and shadows further apart.
highlights?
optionalhighlights?:number
Defined in: attributes/shape/filters/implementations/color-adjustment.ts:23
-1 to 1 (0 = unchanged). Brightens or dims highlight regions.
hue?
optionalhue?:number
Defined in: attributes/shape/filters/implementations/color-adjustment.ts:17
Hue rotation in degrees (0 = unchanged), luma-preserving. Wraps at 360.
saturation?
optionalsaturation?:number
Defined in: attributes/shape/filters/implementations/color-adjustment.ts:15
0 to 3 (1 = unchanged). Scales color saturation uniformly.
shadows?
optionalshadows?:number
Defined in: attributes/shape/filters/implementations/color-adjustment.ts:21
-1 to 1 (0 = unchanged). Lifts or crushes shadow regions.
temperature?
optionaltemperature?:number
Defined in: attributes/shape/filters/implementations/color-adjustment.ts:25
-1 to 1 (0 = unchanged). Negative = cool (blue), positive = warm (orange).
tint?
optionaltint?:number
Defined in: attributes/shape/filters/implementations/color-adjustment.ts:27
-1 to 1 (0 = unchanged). Negative = green shift, positive = magenta shift.
type
type:
"colorAdjustment"
Defined in: attributes/shape/filters/implementations/color-adjustment.ts:9
vibrance?
optionalvibrance?:number
Defined in: attributes/shape/filters/implementations/color-adjustment.ts:19
-1 to 1 (0 = unchanged). Boosts muted colors more than vibrant ones.
vignette?
optionalvignette?:number
Defined in: attributes/shape/filters/implementations/color-adjustment.ts:29
0 to 1 (0 = none). Darkens the edges of the frame.