In the case of toy guns, manufacturers since the late 1980s have been required by federal law to use distinctive "blaze orange" barrel plugs or markings to ensure that the toys are not mistaken for the real thing.
WSJ: Rhett Power: Pink Guns, but Not Cute