fauna_blues | R Documentation |
This function takes an integer input and returns a corresponding number of hex codes based on the shades of blue in the Faunalytics color palette. In other words, you give it a number of shades of blue you need it, it gives you those shades. When given 1, it returns Faunalytics blue. When given 2, it returns Faunalytics dark blue and light blue. When given 3, it returns Faunalytics dark blue, blue, and light blue. All values greater than 3 are interpolated between Faunalytics dark blue and light blue, which will be the darkest and lightest colors returned.
fauna_blues(x)
x |
An integer greater than 0. |
A vector of hex codes
barplot(seq(1,5,1), col = fauna_blues(5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.