Color

sealed interface Color

Represents a color in Minecraft.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Custom(val hex: String) : Color

Custom colors using hex strings.

Link copied to clipboard

Colors in Minecraft that "have a name".

Properties

Link copied to clipboard
abstract val hex: String

The hexadecimal value representing the color.