CSS mask-mode
The mask-mode property in CSS determines how an element's mask layers should be composited together.
There are four possible values for the mask-mode property:
alpha: The mask layers are composited based on the alpha values of the mask layers.luminance: The mask layers are composited based on the luminance values of the mask layers.alpha luminance: The mask layers are composited first based on the alpha values, and then based on the luminance values.luminance alpha: The mask layers are composited first based on the luminance values, and then based on the alpha values.
Let's see some examples of how the mask-mode property works: