Possible Duplicate:
Generate lighter/darker color in css using javascript
Hi all. I want to create a function in javascript that get as a parameter a color in hex format for example: #ff0000 . And generate 10 (N) thin colors , or 10 color darker then the color that we given. Please help me