#!/bin/sh

for i in "$@"; do
    convert $i -fill black -colorize 50% dark-${i}
done