<!-- Public documentation export; not library implementation source. -->
# StudyPalettesInfo

[Integration guide](https://docs.lumencharts.com/charting-library/reference/compatibility) · [Reference index](https://docs.lumencharts.com/charting-library/api/)

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

## colors {#colors}

```ts
readonly colors: MappedObject<StudyPaletteInfo> | StudyPaletteInfo[];
```

Use the type signature above and the integration guide for the owning capability.

## valToIndex {#valtoindex}

```ts
readonly valToIndex?: MappedObject<number>;
```

Use the type signature above and the integration guide for the owning capability.

## addDefaultColor {#adddefaultcolor}

```ts
readonly addDefaultColor?: boolean;
```

Use the type signature above and the integration guide for the owning capability.

## Related types

- [MappedObject](https://docs.lumencharts.com/charting-library/api/MappedObject)
- [StudyPaletteInfo](https://docs.lumencharts.com/charting-library/api/StudyPaletteInfo)

---
Documentation page: https://docs.lumencharts.com/charting-library/api/StudyPalettesInfo
