Sketch for a color function that retrieves from a general $colors object