ruhley / angular-color-picker

Vanilla AngularJS Color Picker Directive with no requirement on jQuery
http://ruhley.github.io/angular-color-picker/
MIT License
165 stars 78 forks source link

ng-model format saved as hsl, when format is set to rgb with alpha true #112

Closed christrude closed 8 years ago

christrude commented 8 years ago

Shouldn't it be storing the ng-model information in the same format as the UI shows it in? This is causing an issue when I bring existing stored information into a picker, as it forces the UI to sho the HSL values not RGB.

christrude commented 8 years ago

Was setting format as "'rgb'", was causing issues, and was loading old values. Nevermind.