Unicorn pHAT RGB wrong way round

Have a Unicorn pHAT as part of the mood light kit.
Used a Hammer Header on the pHAT + Pi Zero WH.
If use set_pixel command RGB seems to work fine (ie first number sets red etc).

However if use a for loop to set the whole HAT - using the code from the intro tutorial, RGB are the wrong way round, so to get a red light have to use (x,y,0,0,255) for example.

What am I doing wrong?
I thought it might be a loose connection at first, but all pixels give “correct” colour if set individually.