This fixes #8228.  Autocoloring now works.  I had to add the library tinycolor.js.