computeTbgrFromComponents MethodStatic
Compute the 0xTTBBGGRR value corresponding to the specified Red, Green, Blue, Transparency components. All inputs should be integers between 0-255.
computeTbgrFromComponents(red: number, green: number, blue: number, transparency?: number): number
| Parameter | Type | Description | 
|---|---|---|
| red | number | |
| green | number | |
| blue | number | |
| transparency | number | 
Returns - number
Defined in
- core/common/src/ColorDef.ts Line 96
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.