The simplest solution would be to just change the Input Option Values to this, if that would work for you:
Red==Red||Blue==Blue||Green==Green
or
If you need the values to be numbers for some reason, you'd have to either hard-code all possible translation values into a custom output modifier or (in the output modifier) get the TV object, get its Input Option Values field, parse that field, and return the appropriate string. The second method might slow down page loads enough to be noticeable if you have very many TVs on a page.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html