开发者

Is there a service, besides SASS, that darkens CSS colors and gives you the hexadecimal code? [closed]

开发者 https://www.devze.com 2023-03-05 19:42 出处:网络
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines guidelines. It is not currently accepting answers.
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I'm looking for a service that allows you to enter a hexadecimal code开发者_高级运维 for a color and a desired percentage of darkening. The service then returns the hexadecimal code of the new color.


You can just use plain ol' HSV colors. Type your HEX color into the top box of this website and slide the value slider to darken/lighten the color to your desire.

HSV is quite useful for making shades of a certain RGB color, as changing a 100 to a 90 is all you need to do to darken a color a little.


According to what you mean by "a service", 0to255.com may give you what you want.

You choose a colour and it presents you with a range of colours and their numeric code (quote: "from black to white using an interval optimized for web design. Then, just click the variation you want to use and the hex code is automatically copied to your clipboard").

Alternately, I write my CSS in SASS (http://www.sass-lang.com) these days which compiles down to CSS, and amongst the benefits are the fact that it supports various colour manipulation functions such as "lighten" and "darken" (eg 'color: darken(#ab280e, 15%)') so you can just code up your style with what you want and let SASS do the rest for you.


Another "service" is Colorglower - Get lighter and darker shade of hex color Youcan use this tool to generate lighter and darker shades of hex color. You can even adjust the shade percentage of the hex value

0

精彩评论

暂无评论...
验证码 换一张
取 消