MotionScript

@motion-script/core


@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?

optional brightness?: 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?

optional contrast?: number

Defined in: attributes/shape/filters/implementations/color-adjustment.ts:13

0 to 2 (1 = unchanged). Spreads highlights and shadows further apart.


highlights?

optional highlights?: number

Defined in: attributes/shape/filters/implementations/color-adjustment.ts:23

-1 to 1 (0 = unchanged). Brightens or dims highlight regions.


hue?

optional hue?: number

Defined in: attributes/shape/filters/implementations/color-adjustment.ts:17

Hue rotation in degrees (0 = unchanged), luma-preserving. Wraps at 360.


saturation?

optional saturation?: number

Defined in: attributes/shape/filters/implementations/color-adjustment.ts:15

0 to 3 (1 = unchanged). Scales color saturation uniformly.


shadows?

optional shadows?: number

Defined in: attributes/shape/filters/implementations/color-adjustment.ts:21

-1 to 1 (0 = unchanged). Lifts or crushes shadow regions.


temperature?

optional temperature?: number

Defined in: attributes/shape/filters/implementations/color-adjustment.ts:25

-1 to 1 (0 = unchanged). Negative = cool (blue), positive = warm (orange).


tint?

optional tint?: 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?

optional vibrance?: number

Defined in: attributes/shape/filters/implementations/color-adjustment.ts:19

-1 to 1 (0 = unchanged). Boosts muted colors more than vibrant ones.


vignette?

optional vignette?: number

Defined in: attributes/shape/filters/implementations/color-adjustment.ts:29

0 to 1 (0 = none). Darkens the edges of the frame.