API Reference > imodeljs-common > Symbology > ColorDef > setTransparency setTransparency Method Change the transparency value for this ColorDef setTransparency(transparency: number): void Parameter Type Description transparency number the new transparency value. Must be between 0-255, where 0 means 'fully opaque' and 255 means 'fully transparent'. Returns - void Defined in core/common/src/ColorDef.ts Line 342 Last Updated: 13 June, 2024