API Reference > imodeljs-common > Symbology > ColorDef > getAlpha getAlpha Method Get the alpha value for this ColorDef. Will be between 0-255 getAlpha(): number Returns - number Defined in core/common/src/ColorDef.ts Line 334 Last Updated: 13 June, 2024