01-21-2016, 11:33 AM
(This post was last modified: 01-21-2016, 11:33 AM by somepotato. Edited 1 time in total.)
I'm just going to leave this here:
What you want is called HSB/HSV
You take the RGB, convert it to HSV, clamp the V to a minimum value, convert it back to RGB and marvel that you now have a certain brightness limit.
What you want is called HSB/HSV
You take the RGB, convert it to HSV, clamp the V to a minimum value, convert it back to RGB and marvel that you now have a certain brightness limit.