Change gumball color depending on align mode?

Hi there,

I know it’s total luxury I’m asking for here, but I would love it so much if the gumball color could be customized depending on whether it’s in “align to object” or “align to cplane” etc… Is there a way to do this ?

Thank you,
Felix