Levels Effect

The Levels effect adjusts the tonal range of colors in your ASCII art using input and output level controls.

Parameters

Input Levels

Shadows Input

RangeDefaultEffect
0–2550Values darker than this become black. Increasing clips shadow detail.

Midtones (Gamma)

RangeDefaultEffect
0–10050Values below 50 darken midtones, above 50 brighten them. 50 = no change.

Highlights Input

RangeDefaultEffect
0–255255Values brighter than this become white. Decreasing clips highlight detail.

Output Levels

Output Minimum

RangeDefaultEffect
0–2550Darkest result value. Increase to prevent pure black.

Output Maximum

RangeDefaultEffect
0–255255Brightest result value. Decrease to prevent pure white.

Color Range

Controls which cells are affected:

ModeDescription
AllApply to all cell colors
TextOnly affect text (foreground) colors
BackgroundOnly affect background colors
CustomSpecify a custom color range

Keyframing

All five parameters (shadows, midtones, highlights, output min, output max) support keyframe animation. Set different values at different frames to animate tonal changes over time.

Common Recipes

  • Shadows: 20–40
  • Highlights: 220–230
  • Midtones: 50 (unchanged)

Clips shadows and highlights for stronger contrast.

Technical Notes

  • Operates in RGB color space — each channel adjusted equally
  • Processing order: input remapping → gamma correction → output clamping
  • Values are clamped to 0–255