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