If your TV supports ARC, then connect the soundbar to the ARC HDMI port (you might have to move the cablebox to another HDMI inout), and configure your TV properly.
"Green" is most probably headphones output, and "pink" is most probably audio input. This is the one to use if your TV does not support ARC, but has audio output.