I noticed that there seem to be at least two systems for describing colors with HSB 
values. When converting a color in Java from RGB to HSB I get totally different values 
from the ones that my graphics software (Paint Shop Pro) tells me (they use values 
from 0 to 255, but that is not what I mean).

One example:

Red = 128, Green = 80, Blue = 64
Java-HSB: 0.41667, 0.5, 0.50196
PSP-HSB: 11, 85, 96

Does anybody know any resources where these systems are explained (preferably with 
some conversion algorithms)?

Thanks in advance

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to