Drag and drop images (32x32 or smaller) onto canvas below.

KEY - Left: Original, Right: Result, Bottom: the color palette (fixed).

Assembly code for Easy 6502 processor.

Some example images you can use: