You can use the plot_colors to show colors on the graph device.
plot_colors
plot_colors(colors) color_ramp_palette(colors)
colors
A vector of colors.
plot_colors(rgb(158,122,122, maxColorValue = 255 ))