<static> toRGBA(r, g, b, a) → {number}
A utility to convert RGBA components to a 32 bit integer in RRGGBBAA format.
Parameters
Name Type Description r number The red color component, in the range 0 - 255. g number The green color component, in the range 0 - 255. b number The blue color component, in the range 0 - 255. a number The alpha color component, in the range 0 - 255.
Returns
number - A RGBA-packed 32 bit integer
Author: Matt DesLauriers (@mattdesl) Source cod