I need to port this codehttp://www.pahgawks.com/blog/fire-particles-for-html5-canvas/ from css and javascript to Android. in this code if change this line
stage.fillStyle = "rgba("+(260-(particles[i].life*2))+","+((particles[i].life*2)+50)+","+(particles[i].life*2)+","+(((max-particles[i].life)/max)*0.4)+")";
to:
stage.fillStyle = "rgba("+255+","+50+","+0+","+0.4+")";
see fire with yellow and red and white color but in Android I see just red color
paint.setColor(Color.argb(102,255,50,0);
but I have problem with paint.setColor(Color.argb(alpha,red,green,blue)) and rgba css in the css code we see a color read yellow and white that created in fire.