That is correct. For that 13 pin Expander (CN105) Green goes to pin 2, yellow = pin 7, blue = pin 8
You can see that the pin no 13 is labeled (printed on the board) so that you know that pin no 1 starts on the opposite side of the header.
All cable colours are random. So I would not quote colours. Middle is always pin 2 (GND), as thats the way I have delibrately soldered every single one.