color



using Makie

vbox(
    lines(rand(10), linewidth = 20, color = :blue),
    lines(rand(10), linewidth = 20, color = to_colormap(:viridis, 10)) #mapping from a colormap to colors with 10 color points
)