In a linked symbol is there a way to have one symbol property tag, and inside the symbol look at individual bits of that property tag?

In a linked symbol is there a way to have one symbol property tag, and inside the symbol look at individual bits of that property tag?

For Example:
In my linked symbol I have 2 objects I want to change the color of each object.
Color->B0
Color->B1

But I would like this tag not to be fixed and be able to use this symbol over and over with different tags, so the only way I know to do it would be:

#Color->B0:

#Color->B1:

But then the symbol requires me to input each tag individually, and I would much rather just put in the base tag.