ColorRgbFun function

Creates a color mapping function