Color

public enum Color extends Enum<Color>

The Color enum represents possible default values that can be used for LED colors.

Entries

Link copied to clipboard

Represents the color red.

Link copied to clipboard

Represents the color green.

Link copied to clipboard

Represents the color blue.

Link copied to clipboard

Represents the color orange.

Link copied to clipboard

Represents the color purple.

Link copied to clipboard

Represents the color tan.

Link copied to clipboard

Represents the color high tide (a specific shade of blue-green).

Properties

Link copied to clipboard
private final EnumEntries<Color> entries

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

Link copied to clipboard
private final Triple<Integer, Integer, Integer> rgb

Functions

Link copied to clipboard
public final EnumEntries<Color> getEntries()
Link copied to clipboard
public final Triple<Integer, Integer, Integer> getRgb()
Link copied to clipboard
public final Color 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.)

Link copied to clipboard
public final Array<Color> values()

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