linesegments + colors

using Makie
 using Colors

 linesegments(
     [rand(Point2f0) => rand(Point2f0) for i in 1:5],
     color = rand(RGB{Float64}, 5)
 )