Nelson,
The magic function is RGBComp() in foxtools.fll, it returns the individual values instead of object properties though.
lnColorNumber = rgb(25,110,205)
set library to foxtools.fll additive
MagicFunction(lnColorNumber, @lnRed, @lnGreen, @lnBlue )