The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] 6-digit hex value VS. lighten/darken value in LESS/SASS
Bootstrap have default classes for colour written in this format:
@gray-darker: lighten(#000, 20%); // #333
What is best practice? The above format or
@gray-darker: #333;
and what is REALLY the difference?
Is it beneficial to use the lighten/darken format for other classes in your CSS too?
Thanks for the reply and the tip on asjust-color! I’ll try it out :)