Parameters
- index
- The effect index in the list.
- color1
- The first user color to combine with color2 through a linear interpolation to determine the new color for pixels.
- color2
- The second user color to combine with color1 through a linear interpolation to determine the new color for pixels.
Return Value
The inserted Duotone effect.