How to invert colors in LESS
There are multiple interpretation of inverting color.
You want a color with the opposite hue:
spin(@color, 180)
You want a color that the sum with current one is white:
#fff - @color
There are multiple interpretation of inverting color.
You want a color with the opposite hue:
spin(@color, 180)
You want a color that the sum with current one is white:
#fff - @color