Everysight SDK
2.5.0
common
Everysight SDK
/
UIKit.app.data
/
IEvsColors
/
fromRgb
from
Rgb
open
fun
fromRgb
(
r
:
Int
,
g
:
Int
,
b
:
Int
)
:
Int
Converts r,g,b values to int color
Return
rgba color, int representation
Parameters
r
red
g
green
b
blue