#!/bin/sh
sed -i \
-e 's/rgb(0%,0%,0%)/#222222/g' \
-e 's/rgb(100%,100%,100%)/#c0c0c0/g' \
-e 's/rgb(50%,0%,0%)/#111111/g' \
-e 's/rgb(0%,50%,0%)/#87875f/g' \
-e 's/rgb(0%,50.196078%,0%)/#87875f/g' \
-e 's/rgb(50%,0%,50%)/#111111/g' \
-e 's/rgb(50.196078%,0%,50.196078%)/#111111/g' \
-e 's/rgb(0%,0%,50%)/#c0c0c0/g' \
"$@"