Both functions produce a βlighterβ color, but use different methods for this.
Check out the source to find out how they work:
tint: function(color, amount) { return this.mix(this.rgb(255,255,255), color, amount); },
lighten: function (color, amount) { var hsl = color.toHSL(); hsl.l += amount.value / 100; hsl.l = clamp(hsl.l); return hsla(hsl); },
So tint mixes in white (as indicated in the documentation), and lighten increases the brightness of the HSL color model.
Kapep
source share