Module Color.Xyz

type t = [
| `Xyz
]
val t : t

Color type value

val name : t -> string

Color name

val channels : t -> int

Returns the number of channels

val has_alpha : t -> bool

Returns true when a color has an alpha channel, which will always be the last channel

val to_rgb : t -> floatarray -> floatarray

Convert a color to RGB

val of_rgb : t -> floatarray -> floatarray

Convert a color from RGB