# How change Plots default color palette

**URL:** <https://discourse.julialang.org/t/how-change-plots-default-color-palette/48422>\
**Category:** New to Julia\
**Tags:** plotting, visualization, plots\
**Created:** [October 15, 2020, 11:25am UTC](https://discourse.julialang.org/t/how-change-plots-default-color-palette/48422 "2020-10-15T11:25:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BaronvonderHeyden](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@BaronvonderHeyden](https://discourse.julialang.org/u/BaronvonderHeyden)\
**Post date:** [October 15, 2020, 11:25am UTC](https://discourse.julialang.org/t/how-change-plots-default-color-palette/48422/1 "2020-10-15T11:25:38Z")

</div>

Hello,

I know that Plots assigns line colors from a default color palette, but I cannot figure out how to change this palette… Could someone please tell me how thats done?  
Specifically, I would like to replace it by Dark2 from ColorBrewer if this is relevant.

Thanks guys…

---

<div class="post-metadata">

**Author:** ![hendri54](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hendri54/32/9621_2.png) [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Post date:** [October 15, 2020, 1:15pm UTC](https://discourse.julialang.org/t/how-change-plots-default-color-palette/48422/2 "2020-10-15T13:15:41Z")

</div>

The only way I know is with `PlotThemes`:

```julia
julia> Pkg.add("PlotThemes")
julia> theme(:dark; palette = palette(:tab10))
julia> theme(:dark; palette = theme_palette(:orange))

```

---

<div class="post-metadata">

**Author:** ![BeastyBlacksmith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/beastyblacksmith/32/4741_2.png) [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Post date:** [October 15, 2020, 10:27pm UTC](https://discourse.julialang.org/t/how-change-plots-default-color-palette/48422/3 "2020-10-15T22:27:19Z")

</div>

You can set `default(palette = palette(:dark2))`
