fpdf.set_text_color(r: int, g: int = -1, b: int = -1)
Defines the color used for text. It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.
bare given, this indicates the red component; if not, this indicates the gray level. The value is between 0 and 255.
Green component (between 0 and 255).
Blue component (between 0 and 255).