color_to_integer# color_to_integer(color: str) → int[source]# Given a PIL ImageColor string, return a packed integer. Parameters color (str) – A PIL ImageColor string Returns An integer containing the packed RGB values. Return type int