0

I want to add functionality to my application that randomly generates a color scheme based on some color, for example #0080C8. So, when I click a button, it takes the base color and generates a list of colors, each generated with its own parameter, for example, lighten by 20% for one, and darken by 10% for another one. So, what I wonder about, is there a ready-to-use JS library that has such methods like darken, lighten, and so on?

2
  • Why not just use HSL colors ? things like darker -20%, or lighter +10% are trivial within it. Commented Sep 29, 2011 at 7:47
  • Also see this answer of mine for some javascript code [Darken/lightenin javascript][1] [1]: stackoverflow.com/questions/801406/… Commented Sep 29, 2011 at 7:53

2 Answers 2

1

See this JQuery plugin:

http://www.xarg.org/project/jquery-color-plugin-xcolor/

Sign up to request clarification or add additional context in comments.

Comments

0

color blender is an oldie but a goodie. i love it. http://meyerweb.com/eric/tools/color-blend/

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.