softlight method

Color softlight(
  1. Color color1,
  2. Color color2
)

Similar to overlay but avoids pure black resulting in pure black, and pure white resulting in pure white.

Parameters: color1: A color object to soft light another. color2: A color object to be soft lighten. Returns: color

Implementation

Color softlight(Color color1, Color color2) =>
    colorBlend(fSoftlight, color1, color2);