core split into colorjs-lib