API Reference > imodeljs-common > Rendering > FeatureAppearance > fromRgba fromRgba MethodStatic Create a FeatureAppearance that overrides the RGB and transparency. The appearance's transparency is derived from the transparency component of the ColorDef. fromRgba(color: ColorDef): FeatureAppearance Parameter Type Description color ColorDef Returns - FeatureAppearance Defined in core/common/src/FeatureSymbology.ts Line 83 Last Updated: 12 June, 2024