API Reference > geometry-core > Polyface > IndexedPolyface > addColor addColor Method Add a color addColor(color: number): number Parameter Type Description color number Returns - number 0-based index of the added or reused color. Defined in core/geometry/src/polyface/Polyface.ts Line 390 Last Updated: 13 June, 2024