# ColorType

public enum ColorType extends 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
public class Companion

## Properties

entries
Link copied to clipboard
private final EnumEntries<IColorData.ColorType> entries

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

name
Link copied to clipboard
private final String name
ordinal
Link copied to clipboard
private final Integer ordinal

## Functions

getEntries
Link copied to clipboard
public final EnumEntries<IColorData.ColorType> getEntries()

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.

getName
Link copied to clipboard
public final String getName()
getOrdinal
Link copied to clipboard
public final Integer getOrdinal()
valueOf
Link copied to clipboard
public final IColorData.ColorType valueOf(String value)

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
public final Array<IColorData.ColorType> values()

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