Skip to main content

Saturation Range

This rule checks that the saturation values of pixels in an image fall within the specified range.

Parameter table

paramunitrequireddescription
minSaturation%noMinimum saturation value in percentage (minSaturation).
maxSaturation%noMaximum saturation value in percentage (maxSaturation).

Detailed description

Ensures that the average saturation value across the entire image falls within the specified range ([minSaturation, maxSaturation]) in percentage.

Correction

The correction process adjusts saturation values to fit within the specified saturation range.

How to setup

This rule evaluates whether an image's saturation values conform to specified constraints. Key parameters include:

  • minSaturation: Minimum saturation value in percentage.
  • maxSaturation: Maximum saturation value in percentage.

At least one argument is required.

Creator tips

  • Analyze the image's color distribution to determine an appropriate saturation range.
  • Use color picker tools to identify specific saturation levels in an image.

Examples

valuevalidmaxSaturationminSaturationdescription
vibrant colors70The image should have vibrant colors with high saturation.
muted colors40The image should have muted colors with low saturation.