To the best of my knowledge generic medications have the same active ingredients, the same dosage form (tablets, capsules, suspension, and syrup) and are identical in the strength or concentration to brand name medications.
They may look different in shape, size and colors. There are strict guidelines that the generic medication has to meet in order to be called therapeutically equivalent and be marketed to you.