
convert:ai:0a034
how do i change colors from black to 50% grey in a png file using convert
$ convert input.png -fill '#808080' -opaque black output.png
try on your machine
Change all black pixels in input.png to 50% grey (#808080) and save the result as output.png
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- how do i change colors from black to 50% grey in a png file using convert?