You can pick a color either by its HTML code (i.e. six hex digits), or by an index into the palette used.
Somehow map the entry to a number, then use "<field>.colour COLOUR<n>" where "<n>" is that number. (requires munin 2.0)