How to make a certain color 50% lighter?

Post questions on how to use or achieve an effect in Inkscape.
hhtmp88
Posts: 22
Joined: Sat Apr 25, 2009 1:35 am

How to make a certain color 50% lighter?

Postby hhtmp88 » Wed Dec 16, 2009 5:35 pm

Dear all,

Suppose I have drawn a rectangle with its color in dark red, but...
-> how to make the dark red color by 50% lighter?

Thanks for any kind of help!
Rgds,
JMY(晉明夷)
http://mfYoga.org -- Yoga, Body & Mind
http://TimYoga.net -- Strengthening your Body & Mind

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: How to make a certain color 50% lighter?

Postby brynn » Wed Dec 16, 2009 11:41 pm

In the Fill and Stroke dialog, on the Fill tab, select the HSL tab. There look at the L slider. You could either visually slide it halfway to the white side, or use the number beside it and do some math. Black is 0, white is 255. So if the number is 50 for example, you would do this -- ((255-50)/2)+50

Of course the math would be different for different percentage change, but black is always 0 and white is always 255.


Return to “Help with using Inkscape”