LEDColor

data class LEDColor(val red: Int, val green: Int, val blue: Int)

A class representing the RGB color values for the LED.

Constructors

Link copied to clipboard
constructor(red: Int, green: Int, blue: Int)

Properties

Link copied to clipboard
val blue: Int

Blue component of the RGB color, ranging from 0 to 255.

Link copied to clipboard
val green: Int

Green component of the RGB color, ranging from 0 to 255.

Link copied to clipboard
val red: Int

Red component of the RGB color, ranging from 0 to 255.

Functions

Link copied to clipboard

Converts the RGB color values into a list of strings, each representing one of the color components in hexadecimal format.