Painting texture based on alpha issue

Ok I’m gonna show you more about it.
As you can see the picture the alpha area are right but the filled area are wrong. I need to paint only the non alpha area using 2 colors where the white contains the first color data and the almost black the second color data.
How can I do that?