How to use the value of a funtion[label] to assign color to a piece of the pie?

(edited after answer of kguler )
My dude is how to control the colors in ranges of a function of [labels]

In this way I can show:
1.- the percentage of Data(labels), using pieces of pie and
2.- the value f of labels, with range colors (similar to TemperatureMap but customized)



------ Original Post ------

I want to use a "gradient" or "a reduce (5-6) list of colors"(similar to DarkRainbow with a little colors)?

I was trying with ColorData and ColorDataFunction ( here you can see that I obtain errors with the same code as the reference doc ) but I have no succes!!

percent = {12, 18, 24, 46}
labels = {1, 9, 15, 22}
f = {8, 7, 1, 4}
PieChart[percent, ChartLabels -&gt; labels, ImageSize -&gt; 200, PlotLabel -&gt; "Test-Grad",  ChartStyle -&gt; ColorData["TemperatureMap" {0, 8}]]
PieChart[percent, ChartLabels -&gt; labels, ImageSize -&gt; 200, PlotLabel -&gt; "Test-Comic", ChartStyle -&gt; ColorData[9, "ColorList"]]


In the image you can see any more about explanation:



Question: How can I ignore / remove / exclude autocompletions in zsh?
Answer: If you don't want rsh and rsyslog to be ever completed in any situation just add the following into .zshrc:

zstyle ':completion:*' ignored-patterns 'rsh|rsyslog'