In this chapter, we will understand the Color Blending Functions in LESS. These are similar operations used in image editors like Photoshop, Fireworks or GIMP, which matches your CSS colors to your images.
The following table shows the color blending functions used in LESS.
|Sr.No.||Functions & Description|
It multiplies two colors and returns a resultant color.
It takes two colors and returns a brighter color. It works opposite of multiply function.
It generates result by combining the effect of multiply and screen.
It works similar to overlay but it uses only a part of the color, which soft-highlights the other color.
It works similar to overlay but the role of the colors reversed.
It subtracts the second input color from the first input color.
It works similar to difference function but with lower contrast.
It computes the average of two input colors on a per-channel (RGB) basis.
It works opposite to difference function, which subtracts first color from second color.