normalize

Converts individual {r, g, b, a} channel values to a single integer representation of the color as 0xAARRGGBB.

Return

integer representation of the color as 0xAARRGGBB

Parameters

r

red channel value, 0, 255

g

green channel value, 0, 255

b

blue channel value, 0, 255

a

alpha channel value, 0, 1