2

Is it possible, to make a specified color lighter?

for example, if I got a HEX color: #FF0000 I 'll use something like lighter(#FF0000); which will return fe. #FF3333.

Isarius
  • 91
  • 6
  • [Increase CSS brightness color on click with jquery/javascript?](http://stackoverflow.com/questions/5833624/increase-css-brightness-color-on-click-with-jquery-javascript) – Sjoerd Oct 11 '11 at 09:05
  • possible duplicate of [jQuery and colour calculation](http://stackoverflow.com/questions/4241618/jquery-and-colour-calculation) – deceze Oct 11 '11 at 09:05

1 Answers1

1

This is not possible in CSS yet.

You can change this via script (dynamically): Generate lighter/darker color in css using javascript

Or use other methods to calculate these values (static calculation): http://www.lesscss.org

Community
  • 1
  • 1
Smamatti
  • 3,901
  • 3
  • 32
  • 43