Previous Up Next

make_rgba
Converts a color to hexadecimal based on its RGBA components. The value of each component is between 0 and 255.

I make_rgba (
I _R_
I _G_
I _B_
I _A_
)
Parameters

_R_
Red component
_G_
Green component
_B_
Blue component
_A_
Alpha component
Return value

Color in hexadecimal
Remark

The alpha component is coded in 7 bits. Its value is thus between 0 and 127.
See Also

get_rgba