# Is there any option to default the color themes in visualization libraries in kibana 8.x

**URL:** <https://discuss.elastic.co/t/is-there-any-option-to-default-the-color-themes-in-visualization-libraries-in-kibana-8-x/364815>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [August 13, 2024, 6:20am UTC](https://discuss.elastic.co/t/is-there-any-option-to-default-the-color-themes-in-visualization-libraries-in-kibana-8-x/364815 "2024-08-13T06:20:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tejashree](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tejashree/32/137918_2.png) [@tejashree](https://discuss.elastic.co/u/tejashree)\
**Post date:** [August 13, 2024, 6:20am UTC](https://discuss.elastic.co/t/is-there-any-option-to-default-the-color-themes-in-visualization-libraries-in-kibana-8-x/364815/1 "2024-08-13T06:20:08Z")

</div>

We need to default the color codes in visulzation libraries since we have to keep changing the colors for standard dashboards. Please let us know if there is any option called themes in kibana

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [August 20, 2024, 7:51am UTC](https://discuss.elastic.co/t/is-there-any-option-to-default-the-color-themes-in-visualization-libraries-in-kibana-8-x/364815/2 "2024-08-20T07:51:57Z")

</div>

Hi @tejashree

if you import the `ChartsPlugin` into your custom plugin, then you should be able to access the `PaletteRegistry` who is used by other visualization plugins:

```js
const paletteRegistry = await charts.palettes.getPalettes();

paletteRegistry.get("default") // or paletteRegistry.get("complimentary")
paletteRegistry.getAll(); // to fetch all the available palettes

```

---

<div class="post-metadata">

**Author:** ![tejashree](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tejashree/32/137918_2.png) [@tejashree](https://discuss.elastic.co/u/tejashree)\
**Post date:** [August 20, 2024, 8:29am UTC](https://discuss.elastic.co/t/is-there-any-option-to-default-the-color-themes-in-visualization-libraries-in-kibana-8-x/364815/3 "2024-08-20T08:29:08Z")

</div>

We dnt have any custom plugins, any other options do we have?

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [August 20, 2024, 10:07am UTC](https://discuss.elastic.co/t/is-there-any-option-to-default-the-color-themes-in-visualization-libraries-in-kibana-8-x/364815/4 "2024-08-20T10:07:37Z")

</div>

Sorry, I have misunderstood as it was tagged as `kibana-plugin-development`.  
You want the list of color codes of all the palettes available in Kibana?

You can fine more information about palettes in Kibana via this EUI page: [Elastic UI](https://eui.elastic.co/#/utilities/color-palettes)
