function createColor(color) { return { "color": color || faker.internet.rgbColor(), "weight": 0.3051757812 }; }