If by the same type do you mean "are they are different species?"
They are probably the same species, but they are line-bred (man selected) for color morphs, in the same way koi are koi, yellow oscars and red oscars all A ocellatus, or red guppies are the same as blue guppies, are same as black ones.
They (guppies with guppies , red oscars with yellow, sevs with sevs) can breed because they are the same species, in the spawn, you would end up with some of one color, some of another, some mixed, and some might even resort to the original natural form, in varying degrees.