NONE of the previous schematics and even the Internet Links are WRONG for RV's. Just goes to show the Internet is not always right.
Brown----- RT
RED--------LT
BLUE-------Electric Brakes
WHITE------Ground
BLACK------12 volt positive
GREEN------Running Lights
YELLOW-----Center pin unused but if used Reverse lights.
Before you attempt to correct me-----I have wired and repaired miswiring on hundreds of 7 way RV trailers. Since this is an RV forum, the correct answer is posted above
Now, what confuses some people is 4 way BOAT or Utility trailer wiring
4 way flat is
YELLOW---LT
BROWN ---Running lights
WHITE----Ground
GREEN----RT
So, some know 4 way flat and then use the same colors when connecting to a 7 way plug. Which is wrong. Doug