Check out example codes for "font color Imagefont pil". It will help you in understanding the concepts better.

Code Example 1

draw.text((margin, offset), line, font=font, fill=(255,0,0,255) )

Learn ReactJs, React Native from akashmittal.com