I tried this one

```
TextView.setTextColor(0xFF00FF00);

```

and

```
TextView.setTextColor(Color.parseColor("#00ff00"));

```

the result is Green.

but I want the code like this,

```
String green= "#00FF00";
TextView.setTextColor(Integer.parse(green));

```

but it's not working.

Regards,