Skip to main content

@novorender/api / HSLAOptions

Interface: HSLAOptions

Defined in: @novorender/src/web_app/highlight.ts:202

Options for HSL + alpha color transformation.

Remarks

All input values are between 0 and 1. See Wikipedia for more details on the HSV color space.

Properties

lightness

readonly lightness: number | LinearTransform;

Defined in: @novorender/src/web_app/highlight.ts:204

Lightness adjustment.


opacity

readonly opacity: number | LinearTransform;

Defined in: @novorender/src/web_app/highlight.ts:210

Opacity/alpha adjustment.


saturation

readonly saturation: number;

Defined in: @novorender/src/web_app/highlight.ts:206

Saturation adjustment (scale).