Jump to content

Color Palette

Recommended Posts

I'm not sure if this a bug or if it's just ignorance about colors on my part, but...

When adjusting a color under 'HSV > V:' and then adding it to the palette, the V value is changed -1. For example... If a color's V value is set to 75, after you add it to the palette, it becomes 74.



- DO NOT contact me asking for the .pdn of my avatar or the PDN logo. Thank you. Have a nice day.

Link to comment
Share on other sites

This is just because of rounding. It's not possible to roundtrip all values between HSV and RGB when using integer precision. For example, some HSV value might convert to an RGB value of { 32.5, 86.8, 119 } but we have to store that as { 32, 86, 119 }. Then, converting back to HSV will not produce the original HSV value. That's all.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html


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.

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