For API level 11 or greater or Lesser API level
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB) {
// only for HoneyComb and newer versions
ActionBar bar = getActionBar();
// title;
bar.setTitle(Html.fromHtml("<font color='#000000'>Home</font>"));
//Rgb for yellow.
bar.setBackgroundDrawable(new ColorDrawable(Color.rgb(255,215,0)));
}