Pack batch color data into one float