Manipulation of colors currently is handled by many custom functions. This is a hold over from 7.3.5 / 8.0 before the built-in ColorMixin had as robust of functions as it does now.
Look in to using ColorMixin in lieu of the custom functions for handling color conversions.