Jump to content

Hue value incremented/decremented by a small value


Recommended Posts

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.

Link to comment
Share on other sites

^ 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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...