Rogue-wave solutions of a three-component coupled nonlinear Schrödinger equation.