HSL

class HSL(var h: Double = 0.0, var s: Double = 0.0, var l: Double = 0.0)

The result of Color.getHSL: hue, saturation and lightness, each in [0, 1]. Mirrors the { h, s, l } target object three.js writes into.

Constructors

Link copied to clipboard
constructor(h: Double = 0.0, s: Double = 0.0, l: Double = 0.0)

Properties

Link copied to clipboard
var h: Double

The hue, in [0, 1].

Link copied to clipboard
var l: Double

The lightness, in [0, 1].

Link copied to clipboard
var s: Double

The saturation, in [0, 1].