Chrome ecu in place of a orange one

Is it ok to use a chrome 4 pin in place of an orange 4 pin ecu? orange one will no longer start the car,no spark. Used chrome one will. Just dont want to mess anything up.