@property
    def color(self):
        color = idc.GetColor(self.ea, idc.CIC_FUNC)
        if color == 0xFFFFFFFF:
            return None

        return color
Function color in IDA View
dataset/ETHPy150Open tmr232/Sark/sark/code/function.py/Function.color