I would guess they were working off black and white stills as happened with the SW adaptation, so nobody knew what the actual colors were? How else can one explain purple Yoda?
On the flip side of the coin, I vaguely recall some Gold Key Star Trek comics with wrong uniform colors in the mid 70’s, when finding out what the proper colors were should have been as easy a catching a TOS rerun. 😉