Added more documentation to the color.js file.