Enhanced version of what was in 1d color consistency.cpp
Uses new svg g() - BUT some evil looking 4172 errors with MSVC