There is an error on line https://github.com/Alberplz/angular2-color-picker/blob/master/app/color-picker/color-picker.html#L36. It should be (newValue)="setColorFromString($event)", not setColorFromHex. Currently this line raises an exception.