Forrest logo
back to the convert tool

convert:ai:07a0a

how do i change colors in a png file using convert
$ convert input.png -fill blue -opaque black output.png
try on your machine

This command will change all the black pixels in input.png to blue 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 in a png file using convert?
back to the convert tool