Customizing color for the navbar of my Android app
You could actually name (i.e. wrap in a proper resource) the color you used there, and thus reference it easier in the future. Not only that, but properly defining resources is recommended for Android development, and depending on the tools you use, you might see them complaining if you don't. 

Inside

/res/values/colors.xml


you could define yours as

&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;resources&gt;
    &lt;color name="my_amazing_blue"&gt;#6a9abd&lt;/color&gt;
&lt;/resources&gt;


and then reference it as

@color/my_amazing_blue


in the XML, or

Resources res = getResources();
int myAmazingBlue = res.getColor(R.color.my_amazing_blue);


in your Java code.

Also note that for Android, resource names are usually cased_like_this.