If i defined a color in resources
#123456
it\'s possible
This is your answer
colorStr=getResources().getString(R.color.someColor);
you will get
colorStr = "#123456"