I am trying to create color values from r,g,b values adding the alpha byte to create a color int.
But I am getting errors using :
Integer.valueOf(colorStr,16);
colorStr
is the string that I build, now the value that sends me error is "0XFF2f6b55"
it sends me invalid int.