Pal let's you apply an eight-color terminal color palette to an image. Use the keyboard controls to choose a theme, set thresholds, and cycle hues.
You can load your own image by pressing , pasting, or dragging and dropping.
You can read more about how it works and view the code
on github.