I have the following array:
<array name="Codes">
<item name="Vermelho">e74c3c</item>
<item name="Azul">3498db</item>
<item name="Rosa">FC14E5</item>
<item name="Roxo">8e44ad</item>
<item name="Amarelo">f1c40f</item>
<item name="Laranja">d35400</item>
<item name="Verde">2ecc71</item>
<item name="Cinza">95a5a6</item>
</array>
I have a variable that holds the color code
Collections.shuffle(Arrays.asList(codes));
this.colorCode = "#" + codes[0];
How could I get the name=""?