Packed Record TGSBAPixel
Unit
Declaration
type TGSBAPixel = packed record
Description
Pixel color defined in corrected HSL colorspace. G stands for corrected hue and B stands for actual brightness. Values range from 0 to 65535.
Overview
Fields
![]() |
hue: word; |
![]() |
saturation: word; |
![]() |
lightness: word; |
![]() |
alpha: word; |
Description
Fields
![]() |
hue: word; |
Corrected |
![]() |
saturation: word; |
|
![]() |
lightness: word; |
Actual perceived brightness. 0 is black, 32768 is normal, and 65535 is white. At 32768, depending on the hue, contrary to THSLAPixel, the color may or may not be mixed with black/white. Blue colors have a lower brightness and thus the full saturation is achieved under 32768. Conversely yellow colors have higher brightness and thus the full saturation is achieved over 32768. |
![]() |
alpha: word; |
Opacity of the pixel. 0 is transparent and 65535 is opaque |