The major difference between Great Stuff White and Black is the black dye. I suspect they are otherwise interchangeable. Just so you know.
But read the labels to be sure.
True story: Company I know a bit about makes a product that is BLUE in color. one of the parts is a common washer.. Like you'd use under the head of a bolt or the nut on the other end. It is blue.
Customer ask if they could send him one. Company spokesperson told him to hop down to the local hardware and get one "But those are not blue" Well the OEM one was not blue till we painted it either"
They are painted after assembly.