saturate

Scale the child's saturation.

saturate(intensity: ArgSpec): PointwiseEffect

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

intensity is a multiplier: 0 is grayscale, 1 leaves the color unchanged, values above 1 (up to about 3) push colors past their original saturation.

Parameters

NameTypeNotes
intensityArgSpec

Example

effect: saturate(p('intensity'))

Tip. Declare identityWhen: isValue('intensity', 1); the no-change value is 1, not 0.

See also

  • vibrance — Boost muted colors while leaving already-vivid ones mostly alone.
  • grayscale — Turn the child black and white, weighted the way the eye sees brightness.

Used by

Saturation