argbFromRgb

fun argbFromRgb(red: Int, green: Int, blue: Int): Int

Converts a color from RGB components to ARGB format.

Return

the ARGB representation of the color

Parameters

red

the red component, in the range 0, 255

green

the green component, in the range 0, 255

blue

the blue component, in the range 0, 255