Packed Record THSLAPixel

Hierarchy
Methods
Properties

Unit

Declaration

type THSLAPixel = packed record

Description

Pixel color defined in linear HSL colorspace. Gamma correction is taken into account. Values range from 0 to 65535.

Overview

Fields

Public hue: word;
Public saturation: word;
Public lightness: word;
Public alpha: word;

Description

Fields

Public hue: word;

Hue of the pixel. The 6 primary colors red/yellow/green/cyan/blue/violet are stretched equally. Extremum values 0 and 65535 are red

Public saturation: word;

Saturation of the color. 0 is gray and 65535 is the brightest color (including white)

Public lightness: word;

Lightness of the color. 0 is black, 32768 is normal, and 65535 is white

Public alpha: word;

Opacity of the pixel. 0 is transparent and 65535 is opaque