There are javascript functions in the c3runtime to translate a color value to an R, G, B value.
Ashley - is there a reason you would not want to share the code of the functions (so others could put the function code itself embedded as a new function in C3 events), I've tested using the function code myself locally using C3 event scripts and they seem to work well.
Reminder: