SvSlazer18 Posted February 8, 2017 Share Posted February 8, 2017 Let's say I pick a hue (H on HSV) value of 250 on the color window. Sounds normal. I then click back on the window. Now it's not 250 anymore; It may be 251, 249... Maybe even 248. Why does this happen? Quote Link to comment Share on other sites More sharing options...
MJW Posted February 8, 2017 Share Posted February 8, 2017 It happens because colors are stored as Red, Green, Blue, not HSV. When you enter an HSV value it's converted to RGB, then the HSV value for the RGB is displayed. For example, suppose you have a color with a very low value, so there are only 3 bits of non-black color. There aren't 360 hues that can be formed from those bit combinations, so some hue values won't be available. Quote Link to comment Share on other sites More sharing options...
SvSlazer18 Posted February 8, 2017 Author Share Posted February 8, 2017 I didn't know about that. I will always rely on RGB from now on. Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted February 8, 2017 Share Posted February 8, 2017 ^ Good idea. There is no 1:1 mapping of RGB to HSV and HSV to RGB. What you're seeing are differences in rounding. Relying on the RGB values and ignoring the HSV is the way to go. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
MJW Posted February 8, 2017 Share Posted February 8, 2017 I wouldn't say ignore it. Just be aware of the limitations. It's a lot easier to make a color darker without otherwise changing it by adjusting the value then by fiddling with the RGB. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.