Change color selection to CurveBoolean

Hey everyone, I was wondering if there was a way to change the color selection of Curve Boolean?

If it can be done through code, i am ok with that too.

Thanks!