API Reference > imodeljs-common > Rendering > FeatureAppearance > fromRgb fromRgb MethodStatic Create a FeatureAppearance that overrides only the RGB color. fromRgb(color: ColorDef): FeatureAppearance note The transparency component of the ColorDef is ignored. Parameter Type Description color ColorDef Returns - FeatureAppearance Defined in core/common/src/FeatureSymbology.ts Line 76 Last Updated: 11 June, 2024