r2slides represents colors as one of two concrete classes, both of which are
subclasses of r2s_color:
Arguments
- alpha
NULLor a number in [0, 1].NULL(the default) omits the alpha field from API requests, which Google Slides treats as fully opaque. Only meaningful in fill contexts; ignored with a warning in text-style contexts.- color
Hex string (e.g.
"#4285F4"or"#F4A"), a named R color (e.g."red"), or a numeric vectorc(r, g, b)with each value in [0, 1].- theme
One of
"DARK1","LIGHT1","DARK2","LIGHT2","ACCENT1"–"ACCENT6","HYPERLINK","FOLLOWED_HYPERLINK","TEXT1","BACKGROUND1","TEXT2","BACKGROUND2".