Duotone

Duotone transform

Create a duotone effect by using duotone=C1,C2[,Y], where C1 and C2 are the colors for the duotone (hex value or color name) and Y is the opacity (Y=0..1, default1).

duotone=C1,C2[,Y]

PreviewSyntax

By default, the image is desaturated first: /docs/mountains.jpg?w=400&duotone=000080,ffff00

If you prefer, you can convert to grayscale instead: /docs/mountains.jpg?w=400&duotone=000080,ffff00&gray=1

Last updated