I grabbed a fun little neon palette from Paletton (below), and I want to try editing a photo (that I've reduced to a 256-color indexed colormap) to be in the neon palette. I'd like to get more nuanced in the 15-color palette from Paletton, ideally up to 256 colors.

Is there a good method for generating a more nuanced palette from a simple one? Or is there a way to elaborate the palette by referencing the differences in color in my source photo, or something like that? Or is there a principal of color theory I can use to expand it more manually?


*** Primary color:

shade 0 = #213FFF shade 1 = #AFBAFF shade 2 = #8394FF shade 3 = #001595 shade 4 = #001073

*** Secondary color (1):

shade 0 = #FF00B9 shade 1 = #FFA4E6 shade 2 = #FF70D8 shade 3 = #A20075 shade 4 = #7D005A

*** Secondary color (2):

shade 0 = #35FF00 shade 1 = #B7FFA4 shade 2 = #8EFF70 shade 3 = #26B700 shade 4 = #1D8C00

  • Hi. Welcome to GDSE. What kind of edit/result are you looking to achieve? It's quite hard to answer this without seeing anything. Changing an image into Indexed colour is unlikely to make editing easy. Usually Indexed colour would be something you do after making an edit to a normal RGB image, essentially the last step. Is there some reason you need an Indexed colour image? Also what software are you using?
    – Billy Kerr
    Oct 7, 2023 at 12:09
  • 3
    It would be really helpful if you both showed us how the palette looks (so we don't have to enter the 15 hex codes ourselves), the original image you want to change and some example of the result you expect. Changing the colors of an image to match a palette isn't a simple thing to do. Might require manual work, might not be possible for that particular image.
    – Wolff
    Oct 7, 2023 at 14:54

1 Answer 1


There's some tools for colour blending/interpolation.


Or you could code something yourself.


Your Answer

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

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