This R package is can help you to distinguish your work in R with very specific and beautiful colors used by great artist Martiros Saryan
Chekc if you have
devtools package installed, if you do not, install it with
At first load the package by running
The packge has 3 functions:
getSaryanPallete(<name of painting>) - this function returns pallete of 32
colours from Martiros Saryan's specified painting. Note that the collor pallate
names are the names of the actual paintings from which they are taken, in lower
case and instead of spaces dashes (-) are used.:w
getPalleteNames() - returns all Martiros Saryan color palletes currently
present in the package
getImagePallete(image = <path to image>, color_number = <number of colors>) -
extractes color palletes from any given image using K-Means clustering.
Those are links to shinyapp example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.