Use classList for setting active
Color box updating works
Redesign the color params