returns a color for the given datum. null may be returned, indicating the default color should be used.