# NOT RUN {
toRGB("steelblue")
# [1] "rgba(70,130,180,1)"
m <- list(
color = toRGB("red"),
line = list(
color = toRGB("black"),
width = 19
)
)
plot_ly(x = 1, y = 1, marker = m)
# }
Run the code above in your browser using DataCamp Workspace