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 294 Last Updated: 12 June, 2024