![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ43QcWn9GaDcYmyG_h7urtKln0i3RjRzvJ4n1nfNgBptAwF8ZDpshqWjUoDRah_2wvgKQ2mNG7cuAHUjmoRq4yOMj2knpSYqAhABxCu5vn5EN7DdiRz70f4ykR1N39tPhyphenhyphenZBQlX5EIpMw/s640/test.jpg)
blue.jgp
With the following command I separated the R, G, B color channels and swapped the Red and the Green channel, to produce a picture in which all blue colors appear in red:
$ convert blue.jpg -separate -swap 0,1 -combine red.jpg
And that is how the result looks like:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhy3qNcXVaWztTxDHe1Y5jE0NPsn8fV9dSdjUW_oCm_tSDqzy7_18rQ-7CzWLsnsrAMFbJXaZUjfY99-QZ2uwdEwNcgyjT6TvWH7ueUWZJf1Iw2_SyQsGQn9KSaGH4Bn9x4cy02nXPzHhVW/s640/test2.jpg)
red.jpg
I got this information from: http://www.imagemagick.org/Usage/color_basics/#combine