Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to count CSS colors used in project/file

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

    I remember seeing one presentation on CSS architecture on the net and I recall the author mentioning that in some projects she had worked on they had around 100s to 1K different CSS colors codes.

    Such (unwanted) diversity creates a maintenance problem since one must debate with himself which of the many shades of something to use.

    Having some sort of branding guideline and using CSS variables seem to be the go-to solution, but first, one needs to know what are the colors, where they occur and how many times, as to be able to reconcile it.

    I wonder how could I get such a report from my CSS bundle, taking into account I could have used all kinds of ways to represent colors, (e.g. RGB/HEX, HSL, and named)?

    Thanks

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