When you read this title you might automatically think of luminescence, but that's not what I'm after.
What I want is to have you current color and have it wait on a scale from black to white.
So something like this , and then I would like the current color returned as a percentage of how black or white that color is.