Color
Last updated
Last updated
CopyColor(
color)
Copies a color.
CopyKColor(
kColor)
Helper function to copy a KColor
Isaac API class.
Helper function to get a random color. Only randomizes the R, G and B fields.
Converts a hex string like "#33aa33" to a Color object.
Converts a hex string like "#33aa33" to a KColor object.
( color)
( kColor)
(`integer
(string
hex, number
alpha)
(string
hex, number
alpha)
GetRandomColor(integer |
? seedOrRNG? =
tsil.rng.getrandomseed() , number? alpha = 1 )
HexToColor(string hex, number alpha)
HexToKColor(string hex, number alpha)