[3.0] Redesign error color scheme, clean up some util classes