function gradient4Colours(gradient, col) {
gradient.append('stop')
.attr('offset', `${_.random(0, 10)}%`)
.attr('stop-color', col[0])
gradient.append('stop')
.attr('offset', `${_.random(10, 50)}%`)
.attr('stop-color', col[1])
gradient.append('stop')
.attr('offset', `${_.random(50, 90)}%`)
.attr('stop-color', col[2])
gradient.append('stop')
.attr('offset', `${_.random(90, 100)}%`)
.attr('stop-color', col[3])
}