from MethodStatic

Create a ColorDef from Red, Green, Blue, Transparency values. All inputs should be integers between 0-255.

from(red: number, green: number, blue: number, transparency?: number): ColorDef

Parameter Type Description
red number  
green number  
blue number  
transparency number  

Returns - ColorDef

Defined in

Last Updated: 11 June, 2024