coding #2 adding the functions to convert the image colors to yellow and magenta