Specify the line color, the background color, the tilt and the size of the added text
ppmlabel -x pos_x -y pos_y -color line_color -background background_color -angle tilt -size size -text text path/to/input_file.ppm > path/to/output_file.ppm