Some colors disappear when exporting to step

I have a problem: when I export an assembly to STEP, some parts lose their color. Does anyone know why?