library("hexSticker")
sticker("onion_blue.png", package="onion", p_size=30, s_x=1, s_y=1,
s_width=0.7, asp=sqrt(3)/2, white_around_sticker=TRUE, h_fill="#7733FF",
h_color="#000000", filename="onion.png")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.