updateRGB

fun updateRGB(r: Int, g: Int, b: Int)

updates this Mutable Color with new RGB values. HSL and hex values automatically updated to match

Author

fzzyhmstrs

Since

0.2.0

Parameters

r

Int - red component, 0..255

g

Int - green component, 0..255

b

Int - blue component, 0..255