# Makie: nonlinear color levels in Colorbar

**URL:** <https://discourse.julialang.org/t/makie-nonlinear-color-levels-in-colorbar/118056>\
**Category:** Visualization\
**Tags:** question, makie, colorbar\
**Created:** [August 11, 2024, 2:24pm UTC](https://discourse.julialang.org/t/makie-nonlinear-color-levels-in-colorbar/118056 "2024-08-11T14:24:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Datseris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/datseris/32/13406_2.png) [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Post date:** [August 11, 2024, 3:25pm UTC](https://discourse.julialang.org/t/makie-nonlinear-color-levels-in-colorbar/118056/2 "2024-08-11T15:25:16Z")

</div>

The replies I’ve gotten at this post will help you make a nonlinear / nonuniform color scale I believe 🙂

> [@Custom divergent colormap with unequal sides](https://discourse.julialang.org/t/custom-divergent-colormap-with-unequal-sides/115484):
>
> I am working with Makie.jl and I wish to create a custom colormap. Taking any divergent colormap provided by Makie, such as :balance for example, I want to make a colormap that has the same colors as :balance or :delta, but the left side spans the range of values 0-1, and the right side spans the range of values 1-4 (instead of what the symmetric 1-2 would dictate). Is that possible? If yes, how?

---

_[View the full topic](https://discourse.julialang.org/t/makie-nonlinear-color-levels-in-colorbar/118056)._
