Jump to content

Max value for saturation (S)


Recommended Posts

I'm sure if I'm right, but max value for saturation "S" is 100, but in other programs (including the "normal" Paint) is 240. You can see this behaviour in the picture attached.

The same thing happens with the max value of "V"

post-137168-0-50072300-1406322198_thumb.

Link to comment
Share on other sites

HSV and HSL are different - try the Wiki page here

http://en.wikipedia.org/wiki/HSL_and_HSV

I think the choice of 240 for HSL Saturation and Luminance as a maximum is arbitary? - but I could be wrong.
Pdn uses ARGB (Alpha,Red,Green,Blue) which are each byte numbers 0 - 255.
The HSV values are calculated from these but can be subject to rounding errors.
Hue is an angle round the colour wheel from red.
Saturation and Value  are  percentages.

 

Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings

 

PdnForumSig2.jpg

Link to comment
Share on other sites

First you have to distinguish between HSV and HSL color model.

The build-in color chooser of Windows shows HSL the Paint.NET one HSV.

Then you have to know that the meaning of saturation is not exactly the same in both color models. See Wikipedia for details.

Indepent from this the 100 in Paint.NET means 100% means maximum saturation.

The reason why Windows uses 240 for the maximum and not 255 or something else has special reasons.

 

If you like to get a color in the HSL model then download the 'Color Harmonies' plugin. There select 'Single Color' in the popup on the top, click the radio button marked with 'L'. If you prefer the Windows look then click the wheel to get a context menu and select 'Square'.

The only difference is that saturation shows there 100% for the maximum and not 240.

midoras signature.gif

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.

 Share

×
×
  • Create New...