LightEffectsTrait.SpectrumHsv

class LightEffectsTrait.SpectrumHsv


Represents a color using the HSV model.

Summary

Public constructors

SpectrumHsv(saturation: Double, hue: Double, value: Double)

Creates the SpectrumHSV class.

Public properties

Double

The specific tone of color, measured in a circle from 0 to 360 degrees.

Double

The amount of black, measured from 0 to 100 percent.

Double

The brightness of a color, measured from 0 to 100 percent, with 0 considered to be black.

Public constructors

SpectrumHsv

SpectrumHsv(saturation: Double = 0.0, hue: Double = 0.0, value: Double = 0.0)

Creates the SpectrumHSV class.

Public properties

hue

val hueDouble

The specific tone of color, measured in a circle from 0 to 360 degrees.

saturation

val saturationDouble

The amount of black, measured from 0 to 100 percent.

value

val valueDouble

The brightness of a color, measured from 0 to 100 percent, with 0 considered to be black.