Print Page | Close Window

HSV vs HSB vs HSL?

Printed From: Pixel Joint
Category: The Lounge
Forum Name: Resources and Support
Forum Discription: Help your fellow pixel artists out with links to good tutorials, other forums, software, fonts, etc. Bugs and support issues should go here as well.
URL: https://pixeljoint.com/forum/forum_posts.asp?TID=15132
Printed Date: 11 September 2025 at 8:10pm


Topic: HSV vs HSB vs HSL?
Posted By: Alphabet
Subject: HSV vs HSB vs HSL?
Date Posted: 19 September 2012 at 6:43pm
Are there any discernible differences between these three color models, or do they read the same values?

I'm asking because Gimp uses HSV, but Paint uses HSL, and I am not sure of their differences. I also do not want to use online HSL sliders to find my hues.



Replies:
Posted By: DawnBringer
Date Posted: 19 September 2012 at 7:50pm
There's a whole bunch of different methods for calculating the Lightness/Brightness/Value/Intensity/Luma...or even define them, and I don't think you can be 100% sure what method a program has assigned to that factor, whatever the character. It's a bit of a mess I believe.

http://en.wikipedia.org/wiki/HSL_and_HSV - Wikipedia on HSL-HSV

Personally, in my Grafx2 scripts; I use HSL where L = Lightness and L = (max(R,G,B) + min(R,G,B)) / 2, as well do the program I think. But note that changing Hue is a "destructive" operation, as it may offset the Brightness/Lightness of a given color.
http://goto.glocalnet.net/axe/dtb12/#pal_adj_huelight_pal - Example of Hue-tweaking problem (Check Palette/Adjust/HueLightness if it doesn't jump to the right place)
That's why I for quality operations use what I call HSB, but here B is real "Perceptual Brightness", rather than just another term for Value (yes, I've made it even more ambiguous :/). With this I can provide the option to maintain the Brightness when you tweak the Hue (as Green is brighter then Red is brighter than Blue, things normally get screwed up when you change the Hue of a Palette/Image without Brightness correction).

Now, I'm sure that this did very little to clarify things for you. It's just so confusing that I have to use opportunites like this to remind myself of the basics, haha!

And, yeah. Don't use Paint. Ever.


Posted By: Alphabet
Date Posted: 19 September 2012 at 8:14pm
I actually never used Paint, and I don't intend to because of it's heavy simplicity.
I'm thinking of converting to Grafx2 just to use your scripts. They're just so enticing; I just need to figure out how to use it.




Print Page | Close Window