# ColorType

enum ColorType : Enum<IColorData.ColorType>

Enum to describe the base color data types available for IColorData objects. Values for each of these types can be freely converted to each other without loss of color data.

## Entries

CIEXYZ
Link copied to clipboard
CIEXYZ

Report color value as CIEXYZ value on unity scale.

CIELAB
Link copied to clipboard
CIELAB

Report color value as CIELAB value.

CIELCH
Link copied to clipboard
CIELCH

Report color value as CIELCH / LCH(ab) value

CIELUV
Link copied to clipboard
CIELUV

Report color as CIELUV value

## Types

Companion
Link copied to clipboard
object Companion

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<IColorData.ColorType>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): IColorData.ColorType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
fun values(): Array<IColorData.ColorType>

Returns an array containing the constants of this enum type, in the order they're declared.