DuotoneOptions: {
    color1: string;
    color2: string;
    intensity: number;
}

Type declaration

  • color1: string

    The hex-coded value for the dark areas

  • color2: string

    The hex-coded value for the light areas

  • intensity: number

    A positive floating-point number between 0 and 1 that defines the intensity of the duotone effect