setBackgroundColor android programmatically hex code example Example: setbackground color hexadecimal android view.setBackgroundColor(0x00FF00)