# Synchronize Vega colors with other visualisations

**URL:** https://discuss.elastic.co/t/synchronize-vega-colors-with-other-visualisations/289321
**Category:** Kibana
**Tags:** vega
**Created:** [November 16, 2021, 12:30pm UTC](https://discuss.elastic.co/t/synchronize-vega-colors-with-other-visualisations/289321 "2021-11-16T12:30:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Brolantor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brolantor/32/86920_2.png) [@Brolantor](https://discuss.elastic.co/u/Brolantor)
#### Post date: [November 16, 2021, 12:30pm UTC](https://discuss.elastic.co/t/synchronize-vega-colors-with-other-visualisations/289321/1 "2021-11-16T12:30:35Z")

</div>

Hello there!

I'm facing a problem with a Kibana Dashboard including a Vega Senkey visualisation (Originated from the popular blog entry [Sankey Visualization with Vega in Kibana 6.2 | Elastic Blog](https://www.elastic.co/de/blog/sankey-visualization-with-vega-in-kibana)). The dashboard also includes some other Lens visualisations.

So far so good, but the users of this dashboard "complain" that the colors of the Senkey Chart do not match the colors of the other visualisations including the same elements.

Is there a way to synchronize Vega and Lens Colors?

---

<div class="post-metadata">

### Author: ![Brolantor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brolantor/32/86920_2.png) [@Brolantor](https://discuss.elastic.co/u/Brolantor)
#### Post date: [November 23, 2021, 12:06pm UTC](https://discuss.elastic.co/t/synchronize-vega-colors-with-other-visualisations/289321/2 "2021-11-23T12:06:02Z")

</div>

Ok, I think my problem is elsewhere. I understand that Kibana already deploys a Color Scheme in Vega named "elastic" which I guess is the default Color Scheme.

Problem is that this Vega Sankey Chart kind of messes with the sorting of the results of the query, so perhaps my problem is somewhat more fundamental.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 21, 2021, 12:06pm UTC](https://discuss.elastic.co/t/synchronize-vega-colors-with-other-visualisations/289321/3 "2021-12-21T12:06:25Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
