It is a string which parses and represents colors. It can be set as a background color or foreground color of the element. The color values specify the color of the element.
Let's take an example to demonstrate the usage of color function in the Less file.
Create a HTML file named ?simple.html?, having the following data.
HTML file: simple.html