ColorXSLa

Practically identical to ColorHSLa, but for mapping colors to classical painter's scheme of complementary colors.

See also

Constructors

ColorXSLa
Link copied to clipboard
fun ColorXSLa(x: Double, s: Double, l: Double, a: Double)

Types

Companion
Link copied to clipboard
object Companion

Functions

div
Link copied to clipboard
open operator override fun div(scale: Double): ColorXSLa
minus
Link copied to clipboard
open operator override fun minus(right: ColorXSLa): ColorXSLa
mix
Link copied to clipboard
open override fun mix(other: ColorXSLa, factor: Double): ColorXSLa
opacify
Link copied to clipboard
open override fun opacify(factor: Double): ColorXSLa

Multiply the opacity by a factor

plus
Link copied to clipboard
open operator override fun plus(right: ColorXSLa): ColorXSLa
saturate
Link copied to clipboard
open override fun saturate(factor: Double): ColorXSLa

Multiply the saturation by a factor.

shade
Link copied to clipboard
open override fun shade(factor: Double): ColorXSLa

Multiply the shade by a factor.

shiftHue
Link copied to clipboard
open override fun shiftHue(shiftInDegrees: Double): ColorXSLa

Shift the hue of a color by the given amount of degrees.

times
Link copied to clipboard
open operator override fun times(scale: Double): ColorXSLa
toHSLa
Link copied to clipboard
fun toHSLa(): ColorHSLa
toRGBa
Link copied to clipboard
open override fun toRGBa(): ColorRGBa

Convert into ColorRGBa.

Properties

a
Link copied to clipboard
val a: Double
l
Link copied to clipboard
val l: Double
s
Link copied to clipboard
val s: Double
x
Link copied to clipboard
val x: Double