📜  LESS色彩混合功能

📅  最后修改于: 2021-01-06 04:42:41             🧑  作者: Mango

更少的色彩融合功能

较少的颜色混合功能是在Photoshop,Fireworks或GIMP等图像编辑器中使用的类似操作,这些操作用于将CSS颜色与图像进行匹配。

Less中使用的颜色混合功能列表:

Index Functions Description
1) multiply It is used to multiply two colors to get a resultant color.
2) screen It is used to mix two colors to get a brighter color. It works opposite of multiply function.
3) overlay It is used to combine the effect of multiply and screen and generate result.
4) softlight It is similar to overlay but it uses only a part of the color, which makes the other color soft-highlighted.
5) hardlight It is also similar to overlay but it reserves the role of the colors.
6) difference It is used to subtract the second input color from the first input color.
7) exclusion It is similar to difference function but with lower contrast.
8) average It is used to compute the average of two input colors on a per-channel (rgb) basis.
9) negation It is simply opposite to difference function and subtracts first color from second color.