The saturation parameter increases or decreases the intensity of the colors in an image.

API Pattern



Parameter Description
saturation Saturation of the output image.

Parameter Values

Value Description
Integer A whole number between -100 and 100.
Float Decimal number between -100.00 and 100.00.


  1. The default value is 0. This leaves the image unchanged.
  2. Valid values range from -100 to 100
  3. A value of -100 will generate a grayscale image.


Description HTML Demo
Increase Saturation - Increase the saturation of the image by 25. <img src="image.jpg?saturation=25"/> Example
Grayscale an image - Decrease the saturation of the image by -100. <img src="image.jpg?saturation=-100"/> Example