labels the same color as their feature attribute

6017
3
06-25-2013 01:31 PM
skipbrisco
New Contributor
Sorry if this is not the right place for this question. I am trying to get my labels the same color as their feature attribute. I have identified 50 unique values from 1 field and would like the label for each to be the same color as that value. Hope this makes sense.
Tags (2)
0 Kudos
3 Replies
MelanieSummers
Occasional Contributor III
Hi Skip,

Although it will not set the colors for you, under the Labels tab in the Layer Properties you can select "Define classes of features and label each class differently." And then select "Get Symbol Classes". This will at least set up the different groups for you that you would then have to set the colors for.

Best,
Melanie
0 Kudos
skipbrisco
New Contributor
Hi Skip,

Although it will not set the colors for you, under the Labels tab in the Layer Properties you can select "Define classes of features and label each class differently." And then select "Get Symbol Classes". This will at least set up the different groups for you that you would then have to set the colors for.

Best,
Melanie



Thanks for the reply Melanie,

So far this is the only way I can see doing it but then I need to identify the color code for each of the lines I am showing. I have not figured out how to identify the color being used to each of the lines yet.
0 Kudos
JohnSobetzer
Frequent Contributor
You might see this: http://forums.arcgis.com/threads/40911-Python-ArcGIS-10-Desktop-Symbology-Label-Color-Unique-Values-....  Other possible links of interest:

http://resources.arcgis.com/en/help/main/10.1/index.html#//00s800000012000000
http://forums.esri.com/Thread.asp?c=93&f=1730&t=169196&g=1
http://forums.esri.com/Thread.asp?c=93&f=1730&t=275252

You can always get or set the RGB values for a color by going to the color boxes and choosing More Colors, but matching up 50 would be a bit of a pain.  Whatever you do save your results as a layer file for future import if you think you will need to do it again.
0 Kudos