fixed colours in function converts to yuv420