This is not how require works. Your color.js
needs to define/export something. I will assume you use require.js here for sanity.
color.js
define('Color', function (require) {
var Color = function () {};
return Color;
});
Then in your spec:
var Color = require('color.js');