Cleanup color layouts and add color spaces
Added fold algorithms and compare