vibrance

Boost muted colors while leaving already-vivid ones mostly alone.

vibrance(intensity: ArgSpec): PointwiseEffect

Import effects from shaders/std and use effects.color.vibrance.

intensity is an adjustment around 0 (about −2 to 2): 0 leaves the color unchanged, positive values add saturation to dull pixels, negative values drain it.

Parameters

NameTypeNotes
intensityArgSpec

Example

effect: vibrance(p('intensity'))

Tip. Declare identityWhen: isZero('intensity').

See also

  • saturate — Scale the child's saturation.

Used by

Vibrance