In Germany, usually the live wire in AC is coded brown or black, neutral is blue. And since some serious change in standards in I think the 1970s, earth is not red anymore in installation, but 70/30 green/yellow, whereas the percentages are allow to vary but must not exceed whether 70% or be below 30% of the coloring of a wire...
And in DC in germany usually red is the +, black or blue are -.
These things are valid for small devices, installation and machines with their wiring cabinets have some extended standards for their appropriate coding of circuits.