Mail Archives: djgpp/1998/06/29/04:41:26
Shawn Hargreaves wrote:
> Dim Zegebart writes:
> >Does anybody know the way how to convert HSB color representation to RGB
> >one ?
>
> HSB color (hue, saturation, and brightness) is just another term for HSV
> (hue, saturation, and value). Allegro contains functions for converting
> between RGB and HSV formats.
>
> You may also sometimes run into the HLS format (hue, lightness, and
> saturation). This is a slightly deformed version of HSV color, where
> zero lightness represents black, one represents white, and 0.5 is a
> fully saturated chromatic color.
>
Thank you for infomation. I already *hacked* Allegro's hsv functions. It works
well for me.
--
____ ____
| \ / Dim Zegebart
____/____
Moscow Russia
WWW - http://www.geocities.com/siliconvalley/pines/7817
DZcomm - comm library for Allegro
Palantir - multitasking kernel for Allegro (based on PDMLWP)
- Raw text -