"Crack" is made by heating cocaine with baking soda to liberate the alkaloid free base. The byproducts are not separated, so they affect the color and texture.
It's not correct that it's somehow a lower grade: basically all cocaine smuggled into the country is the salt form. Crack production is domestic, usually on a kitchen stove, and is done to make the drug smokable.