You could use a scratch Color instance, and assign red/blue/green/alpha into that instead of using locals.