So far, we've seen how we can define a color space, extract one of its constituent elements out of it (such as hue or level of green) and that we can transform the color through fading or spinning the original. There's one more way we can change a color using Less—blending.
The principle works in the same way, in that we require two colors, but the effects are quite different. Let's have a quick look at the three functions you will likely use the most:
Tip
For more information, refer to the full list of functions given in Appendix, Color Functions in Less, at the end of the book. I've also created a CodePen that shows these effects in...