Fixed code gen for card colors