Forums

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

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #205140
    Maru
    Participant

    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?

    #205393
    Maru
    Participant

    Thanks for the reply and the tip on asjust-color! I’ll try it out :)

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.