Interesting. I still don't quite follow what the inside of your chip is doing, but it gave me enough of an idea.
a kind of "Wire Conversion" chip - the inside of which is just an IN wired directly to an OUT but the IN has the color set.
Insides was cut out cuz that's not the main thing here, i just grabbed random chip for this