programatically setting the text color android code example Example: android settextcolor programmatically mTextView.setTextColor(Color.parseColor("#bdbdbd"));