Interesting, but there are some issues: I couldn't get to black or white..? Also, you are mistaking luminosity for brightness: luminosity is a device factor, brightness is a color factor.
http://en.wikipedia.org/wiki/HSL_and_HSV http://en.wikipedia.org/wiki/Luminosity