removed styles from code and removed crypto.js dependency (added a param to set a callback to set the color)