[JAVA2D] HSB values explained

2002-08-01 Thread Jan Bösenberg
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

Re: [JAVA2D] HSB values explained

2002-08-01 Thread Jim Graham
Hi Jan, Does anybody know any resources where these systems are explained (preferably with some conversion algorithms)? Foley and Van Dam's Computer Graphics: Principles and Practice describes a lot of the terms and protocols we use in the 2D API. In particular, they define the HSV (aka HSB)