multicolorfits.hex_to_rgb#

multicolorfits.hex_to_rgb(hexstring)[source]#

Converts a hexadecimal string to RGB tuple

Parameters:

hexstring (str) – Hexadecimal string such as ‘#FFFFFF’

Returns:

tuple – RGB tuple such as (255,255,255)