2

I am using Inkscape for vector and Gimp for raster graphics. They are quite powerful though open-source.

Can somebody recommend me if there is open-source software like Inkscape or Gimp or maybe a tool inside mentioned ones that can calculate 75% darker color of a given color?
Well 75% is not a requirement, it can be for example 50% or 42%, whatever. Also could I do the same thing for 75% lighter color or 64% lighter color.

I am building a software and so far I relied on my coded function to calculate given value. But I need to test this function. I need a proof from outside world that this function is calculating the correct value.

4
  • Do you want to check values manually, or do you need to make these calculations programmatically? I've used less.js's color operation functions to do this type of thing before. Commented Sep 21, 2016 at 18:49
  • Well manually. I have the code already. Just need to prove it works ok.
    – Vlad
    Commented Sep 21, 2016 at 19:38
  • Can you give some examples, what is meant by x% darker? For example for #255:127:000. Commented Sep 29, 2016 at 14:19
  • graphicdesign.stackexchange.com/questions/75417/…
    – Vlad
    Commented Oct 1, 2016 at 7:15

2 Answers 2

2

You can do this yourself with a calculator and the HSB value of any colour.

HSB = Hue, Saturation and Brightness.

Take the existing brightness value, and add or subtract whatever percentage amount you need, and enter that. Bingo!

4
  • Sounds promising! Will try it :)
    – Vlad
    Commented Sep 21, 2016 at 19:39
  • Any ideas where can I find HSB in Gimp or Inkscape?
    – Vlad
    Commented Sep 22, 2016 at 15:31
  • Search google for Gimp (or Inkscape) and HSB or HSL, they're the same thing, and I can't imaging they're not part of these apps.
    – Confused
    Commented Sep 22, 2016 at 15:54
  • If they're not in these apps, there's bound to be online convertors for any colour format to and fro from HSB/HSL
    – Confused
    Commented Sep 22, 2016 at 15:54
1

W3schools has a colors picker tool and it has a few different options to modify a colour including the one you are asking for. Here is the link: http://www.w3schools.com/colors/colors_picker.asp

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.