Obtaining a non linear colorbar for a graph in R

Hi everyone!

I am new at using plotly for my graphs. Do you know if it is possible to obtain a non linear colorbar for a graph?

For now my code is just:
p <- plot_ly(df_pval_2, x = ~x, y = ~y, color = ~pval, colors=mycolors,symbols=22)
colorbar(p, len = 1)

I would like to have more colors for the values of p between 0 and 0.05. Do you know if and how I can do that with plotly?

Thanks a lot!