Color changed after upgrading from 1.2 to 1.3

After I upgraded my Cesium from 1.2 to 1.3 the colors became much darker than they were previously. The code to create the objects or colors has not been changed, and when I return to 1.2 the colors are back to normal. The colors are set like this:

attributes = b.primitive.getGeometryInstanceAttributes(“B” + b.id);

var color = getHouseColor(b.score);

attributes.color = Cesium.ColorGeometryInstanceAttribute.toValue(Cesium.Color.fromBytes(color.r, color.g, color.b, buildingalpha));

Here are some images to illustrate:

Before:

After:

If you have any more questions please ask me. Thanks in advance for any and all advice.