You are mixing two different wiring standards.
For DC circuits (used in automotive apps) the standard is RED is positive (hot). Black is negative (ground).
For AC circuits (used in residential wiring) the standard is BLACK is positive (hot), WHITE is neutral (should be same as ground), and GREEN is true ground.
AC and DC electricity is NOT the same.