@color.setter
    @updates_ui
    def color(self, color):
        if color is None:
            color = 0xFFFFFFFF

        idc.SetColor(self.ea, idc.CIC_FUNC, color)
Function Color in IDA View.
dataset/ETHPy150Open tmr232/Sark/sark/code/function.py/Function.color