Renk kodlarını girmek

//rgb kodları kullanılacaksa

setColor(Color.rgb(70, 130, 180));

//hex kodları kullanılacaksa

setColor(0xFF123456);

//hex kodu ile ilgili açıklama

The hex values are 0xAARRGGBB. A - represents the Alpha value which is out transparent the color is. A value of FF means it's not transparent at all. A value of 00 means the color won't be shown at all and everything behind it will be visible. R - Red value; self-explanatory G - Green value; self-explanatory B - Blue value; self-explanatory What you entered in hex is 0x016569C1 which has an Alpha values of 1 (barely visible). Put, 0xFFFF0000 and you'll have a red background.