garex/nodejs-colors-to-less-operations

The error in the resulting color ~ 1%

Opened this issue · 2 comments

@base-color: #428bca;
@needed-color: #5cb85c; // HSB: 120, 50, 72

Less-format:

spin(desaturate(lighten(#428bca, 1%), 17%), -88); 

Result-color:

#5ab75a;  // HSB: 120, 51, 72
// Result-color != @needed-color; S ~ 1%
garex commented

@PainterPRO btw, what if we try to use float values on not percents in params?

Does less support it? Can you research?