{\displaystyle {\begin{alignedat}{3}\mathbf {a} &=a_{1}\mathbf {\color {blue}{i}} &&+a_{2}\mathbf {\color {red}{j}} &&+a_{3}\mathbf {\color {green}{k}} \\\mathbf {b} &=b_{1}\mathbf {\color {blue}{i}} &&+b_{2}\mathbf {\color {red}{j}} &&+b_{3}\mathbf {\color {green}{k}} \end{alignedat}}}