Parameters
The saturation multiplier. 0 removes all color saturation, 1 is normal, values greater than 1 increase saturation.
Adjusts the color saturation of this view.
.saturation(amount: number): Component;
Image("colorful.jpg")
.saturation(0.3)
Rectangle()
.fill(Color("blue"))
.saturation(1)
Image("photo.jpg")
.saturation(2)