In Sass, you can use different operators to do operations like concatenating strings, concatenating colors etc.
SASS Concatenating Strings
See this example:
After compilation, the resulting CSS will have the following code.
SASS Concatenating Colors
We can also use addition operator (+) to produce a new color value. Let's take an example.
After the compilation, the resulting CSS will have the following code:
Sass performs corresponding calculation on color pairs and after concatenation a new color value is formed.
Hex values are a combination of red, green, and blue color values. They are represented by the numbers 0-9 and the letters A-F.