I thought I'd be able to find an answer to this, but it's turned out to be harder than I thought.
In MS paint, there's a color editor tool that lets you brighten colors
My question is, what is the math behind that color brightening tool, rgb wise?
I thought that if I took a color, and converted the brightness in the "HSB" color model presented by the Color class, I would get an identical effect. However, this isn't quite what I was looking for. For example, it's impossible for me to brighten purple all the way up to white. It merely becomes a very bright purple. Using the Color class "brighten" and "darken" methods produce the same result.
So, simply put, how, numerically, can I implement a method that brightens or darkens a color by an amount that produces an effect identical to that in the picture?