hex2rgb#

cosmicjellyfish.analysis.fishconsumer.hex2rgb(hexcode)[source]#

Convert a hexadecimal color code to RGB tuple.

Parameters:

hexcode (str) – A hexadecimal color code string (e.g., “#FF0000”)

Returns:

An RGB tuple with values from 0-255 (e.g., (255, 0, 0))

Return type:

tuple