openrndr / org.openrndr.color

Package org.openrndr.color

code related to working with Color

Types

ColorATVa

data class ColorATVa

ColorHSLa

data class ColorHSLa

ColorHSVa

data class ColorHSVa

A color respresentation in HSVa space

ColorLABa

class ColorLABa

ColorLCHABa

data class ColorLCHABa

ColorLCHUVa

data class ColorLCHUVa

ColorLSHABa

data class ColorLSHABa

ColorLSHUVa

data class ColorLSHUVa

ColorLUVa

data class ColorLUVa

ColorRGBa

data class ColorRGBa

Color in RGBa space

ColorXSLa

data class ColorXSLa

ColorXSVa

data class ColorXSVa

ColorXYZa

data class ColorXYZa

ColorYxya

data class ColorYxya

Hue

data class Hue

Linearity

enum class Linearity

Properties

hues

val hues: List<Hue>

Functions

findHue

fun findHue(id: Int): Hue?

main

fun main(args: Array<String>): Unit

mix

fun mix(left: ColorHSVa, right: ColorHSVa, x: Double): ColorHSVa

Mixes two colors in HSVa space

fun mix(left: ColorRGBa, right: ColorRGBa, x: Double): ColorRGBa

Mixes two colors in RGBa space

fun mix(a: ColorYxya, b: ColorYxya, x: Double): ColorYxya