Re-wrote part 5: working with color images