How do I add dropshadow

Goal: to add drop shadow to images.

Relevant reading:

To add drop shadows use following set of instructions:

magick <input-image> ^
^( +clone -background #11111e -shadow percent-opacityxBlur}+shiftX+shiftY ^) ^
+swap -background none -layers merge <output-image>

The above code also does work for irregular shapes so we may expect it to get good results for prettified counters, too:

magick input\prettyA.png
^( +clone -background #11111e -shadow 60x0+4+4 ^) ^
+swap -background none -layers merge output\output.png

explanation

result