Modules§
Functions§
- get_
color_ by_ name - Retrieves the RGB values of a color by its name from the provided color map.
This function is used to avoid loading colors repeatedly for each request.
It returns a tuple
(r, g, b)
if the color is found, otherwiseNone
.