Dynamically change color to lighter or darker by percentage CSS (Javascript)

后端 未结 24 1739
-上瘾入骨i
-上瘾入骨i 2020-11-28 01:12

We have a big application on the site and we have a few links which are, let\'s say blue color like the blue links on this site. Now I want to make some other links, but wit

24条回答
  •  -上瘾入骨i
    2020-11-28 01:51

    Not directly, no. But you could use a site, such as colorschemedesigner.com, that will give you your base color and then give you the hex and rgb codes for different ranges of your base color.

    Once I find my color schemes for my site, I put the hex codes for the colors and name them inside a comment section at the top of my stylesheet.

    Some other color scheme generators include:

    • http://www.colorschemer.com/online.html
    • http://colorschemegenerator.com/
    • http://www.cssjuice.com/25-popular-color-scheme-and-palette-generators/

提交回复
热议问题