A style with a pending ID means that the styles has been added, but not yet saved to the database. Once any styles that have been added locally are saved to the database, they will be assigned a unique id number.
const rgbaColor = [0.792, 0.549, 0.78, 1]; entity.polyline.material = new Cesium.Color( ...rgbaColor );