This is transparent level codes of hex codes. 100% ā FF 95% ā F2 90% ā E6 85% ā D9 80% ā CC 75% ā BF 70% ā B3 65% ā A6 60% ā 99 55% ā 8C 50% ā 80 45% ā 73 40% ā 66 35% ā 59 30% ā 4D 25% ā 40 20% ā 33 15% ā 26 10% ā 1A 5% ā 0D 0% ā 00 If you provide 6 hex digits, that means RGB (2 hex digits for each value of red, green and blue). If you provide 8 hex digits, it's an ARGB (2 hex digits for each value of alpha, red, green and blue respectively). So actually you're changing from R=B4, G=55, B=55 to A=B5, R=55, G=55, B=55 which is why it's a mostly-transparent grey colour. http://en.wikipedia.org/wiki/ARGB http://developer.android.com/guide/topics/resources/more-resources.html#Color if you want to some transparent level of color using in layout or widgets, just use like that android:background:"#80FFFFFF"