# How to reproduce the Makie default colors?

**URL:** <https://discourse.julialang.org/t/how-to-reproduce-the-makie-default-colors/84261>\
**Category:** General Usage\
**Tags:** colors, makie, color-theme\
**Created:** [July 15, 2022, 9:43am UTC](https://discourse.julialang.org/t/how-to-reproduce-the-makie-default-colors/84261 "2022-07-15T09:43:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xor0110](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xor0110/32/7926_2.png) [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Post date:** [July 15, 2022, 9:43am UTC](https://discourse.julialang.org/t/how-to-reproduce-the-makie-default-colors/84261/1 "2022-07-15T09:43:15Z")

</div>

I like the default colors from Makie, and more than that, sometimes it’s useful to reproduce them when we need to plot things it a different order. How can I specify the same colors as the default theme, with the `color` keyword? What is the default theme anyways, is it based on seaborn?

In other words, in eg matplotlib you’d be able to just say `color=2` and you get the second color from the default theme. How can I do that using the proper colormap functions?

---

<div class="post-metadata">

**Author:** ![klafyvel](https://avatars.discourse-cdn.com/v4/letter/k/a587f6/32.png) [@klafyvel](https://discourse.julialang.org/u/klafyvel)\
**Post date:** [July 15, 2022, 10:36am UTC](https://discourse.julialang.org/t/how-to-reproduce-the-makie-default-colors/84261/2 "2022-07-15T10:36:50Z")

</div>

Hi ! The default colors are the so-called [wong colors](https://www.nature.com/articles/nmeth.1618). You can retrieve them by calling `Makie.wong_colors()`.

---

<div class="post-metadata">

**Author:** ![Krastanov](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/krastanov/32/6817_2.png) [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Post date:** [July 15, 2022, 2:03pm UTC](https://discourse.julialang.org/t/how-to-reproduce-the-makie-default-colors/84261/3 "2022-07-15T14:03:42Z")

</div>

I assume you do not simply want the default color scheme, rather you want to be able to call into whatever the current cycle is.

This part of the documentation covers it in great detail, letting you do a lot of complex cycling of not only colors but other aesthetics too: [theming - cycles](https://makie.juliaplots.org/v0.17.10/documentation/theming/index.html#cycles)

And to simply answer your question, in Makie you write `color=Cycled(2)` to do the equivalent of matplotlibs `color=2`, as seen in this part of the docs [theming - manual cycles](https://makie.juliaplots.org/v0.17.10/documentation/theming/index.html#manual_cycling_using_cycled)

---

<div class="post-metadata">

**Author:** ![xor0110](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xor0110/32/7926_2.png) [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Post date:** [July 15, 2022, 2:21pm UTC](https://discourse.julialang.org/t/how-to-reproduce-the-makie-default-colors/84261/4 "2022-07-15T14:21:00Z")

</div>

Ok, thanks! Indeed, I want to select the “nth” color of whatever theme is on, although I also wanted to know what is default… But indeed, that’s the solution I was looking for. I think I tried it before but I erroneously used the function `plot` instead of eg. `lines`. `color=Cycled(2)` works perfectly!

---

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [July 15, 2022, 4:03pm UTC](https://discourse.julialang.org/t/how-to-reproduce-the-makie-default-colors/84261/5 "2022-07-15T16:03:45Z")

</div>

It looks quite close to `ColorSchemes.seaborn_colorblind6` as well:

 ![Screenshot 2022-07-15 at 17.02.05](https://global.discourse-cdn.com/julialang/original/3X/7/0/70258489b7b2095703c45b9b46accd3f03f90d22.png)
