# How to change colormap in histogram2d (Plots.jl)

**URL:** <https://discourse.julialang.org/t/how-to-change-colormap-in-histogram2d-plots-jl/48784>\
**Category:** Visualization\
**Created:** [October 22, 2020, 12:18am UTC](https://discourse.julialang.org/t/how-to-change-colormap-in-histogram2d-plots-jl/48784 "2020-10-22T00:18:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![klaff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/klaff/32/7637_2.png) [@klaff](https://discourse.julialang.org/u/klaff)\
**Post date:** [October 22, 2020, 12:18am UTC](https://discourse.julialang.org/t/how-to-change-colormap-in-histogram2d-plots-jl/48784/1 "2020-10-22T00:18:59Z")

</div>

How do I change the colormap of `histogram2d`?

Thanks!

---

<div class="post-metadata">

**Author:** ![briochemc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/briochemc/32/4209_2.png) [@briochemc](https://discourse.julialang.org/u/briochemc)\
**Post date:** [October 22, 2020, 12:59am UTC](https://discourse.julialang.org/t/how-to-change-colormap-in-histogram2d-plots-jl/48784/2 "2020-10-22T00:59:54Z")

</div>

With Plots.jl, use the `seriescolor` attribute (see [Series Attributes · Plots](https://docs.juliaplots.org/latest/generated/attributes_series/)) as a keyword argument. Note `color` or even just `c` work as aliases, e.g.,

```julia
julia> histogram2d(x, y, c=:blues)

```
