toggle menu
colormath
common
switch theme
search in API
colormath
/
com.github.ajalt.colormath.model
/
RGBInt
/
RGBInt
RGBInt
constructor
(
r
:
UByte
,
g
:
UByte
,
b
:
UByte
,
alpha
:
UByte
=
0xff.toUByte()
)
constructor
(
r
:
Int
,
g
:
Int
,
b
:
Int
,
alpha
:
Int
=
255
)
constructor
(
argb
:
UInt
)
constructor
(
r
:
Float
,
g
:
Float
,
b
:
Float
,
alpha
:
Float
=
1.0f
)
Construct an
RGBInt
instance from Float value in the range
[0, 1]