12 lines
363 B
Bash
12 lines
363 B
Bash
|
#!/bin/sh
|
||
|
sed -i \
|
||
|
-e 's/rgb(0%,0%,0%)/#161510/g' \
|
||
|
-e 's/rgb(100%,100%,100%)/#cccccc/g' \
|
||
|
-e 's/rgb(50%,0%,0%)/#555555/g' \
|
||
|
-e 's/rgb(0%,50%,0%)/#cc9528/g' \
|
||
|
-e 's/rgb(0%,50.196078%,0%)/#cc9528/g' \
|
||
|
-e 's/rgb(50%,0%,50%)/#555555/g' \
|
||
|
-e 's/rgb(50.196078%,0%,50.196078%)/#555555/g' \
|
||
|
-e 's/rgb(0%,0%,50%)/#cccccc/g' \
|
||
|
"$@"
|