change text color kotlin programmmatically code example Example: android settextcolor programmatically mTextView.setTextColor(Color.parseColor("#bdbdbd"));