RgbColor Class

An immutable representation of a color with red, green, and blue components each in the integer range [0, 255].


Name Description
constructor(r: number, g: number, b: number): RgbColor Constructs from red, green, and blue components.  
equals(other: RgbColor): boolean    
fromColorDef(colorDef: ColorDef): RgbColor Static Constructs from the red, green, and blue components of a ColorDef.  


Name Type Description
b ConstructorProperty number Blue  
g ConstructorProperty number Green  
r ConstructorProperty number Red  

Defined in

Last Updated: 20 September, 2019