API Reference > imodeljs-common > Symbology > Gradient > Gradient.KeyColor Gradient.KeyColor Class Gradient fraction value to ColorDef pair see Gradient.KeyColorProps Methods Name Description constructor(json: Gradient.KeyColorProps): Gradient.KeyColor Properties Name Type Description color ColorDef value number Defined in core/common/src/Gradient.ts Line 54 Last Updated: 12 June, 2024