I want to make a gradient with less unique colors, so I can do shading for messing about with pixel graphics, but as it is, GIMP's default settings create a very smooth gradient, which ironically is not useful in this case. I want to avoid lowering the color depth of the whole image if I can, however if that is the only way, that could work too. I mostly want a less smooth transition.

3 Answers 3


Forgetting the obvious answer, just apply Color>Posterize to the gradient.

enter image description here

  • This is by far the easiest way to achieve banding.
    – PieBie
    Jul 25, 2017 at 7:48
  • Thanks, doing this on a single layer was really useful. And PieBie, thank you for telling me the proper term for what I was looking for.
    – chexo3
    Sep 1, 2017 at 12:36

To do this you would define your own gradient with several sections, each section being a uniform color. However, if you want more than half a dozen segments this is going to be cumbersome to do wit the gradient editor. But since the gradient file is a just a plain text file, you can make one with a text editor and the help of your calculator or your favorite spreadsheet program (the GGR isn't very far from the CSV). The gradient file format is explained here.


One primitive way to do that is making the gradient on one transparent layer or new file, lowering the bit depth on this file and then copy it to your original file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.