Definir a cor da barra de ferramentas Android

toolbar.background = getDrawable(R.color.green)
Concerned Centipede