ppmtomap

This command is superseded by pnmcolormap. More information: https://netpbm.sourceforge.net/doc/ppmtomap.html.

tldr pnmcolormap