powered by
RGB str to hex
rgb_str_to_hex(rgb_string)
hex color
The RGB string as returned by rstudioapi::getThemeInfo()
rstudioapi::getThemeInfo()