IsColor | R Documentation |
Internal function: Helper function that determines whether input (vector) is a color
IsColor(put_color_vector)
put_color_vector |
putative vector of colors |
SLA (with help from https://stackoverflow.com/questions/13289009/check-if-character-string-is-a-valid-color-representation/13290832#13290832)
IsColor('black')
IsColor('white')
IsColor('gnyf')
IsColor(c('white', 'blue', 'gnyf'))
IsColor('#0098AD')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.