Skip to content

colorGrade

const colorGrade: EffectDefinition<ColorGradeHandle, ColorGradeOptions>

Defined in: effects/src/colorGrade.ts:58

Color grading via the built-in ColorMatrixFilter with a few named presets (sepia, grayscale, negative, night, warm, cool, neutral).

setIntensity cross-fades the matrix toward identity by lerping the filter’s alpha uniform — at 0 the filter passes the original through, at 1 the preset is fully applied.

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/effects.md.