UI elements

ng-color-picker

NG Color Picker by AndyMeps

A simple MIT component written in 100% of Typescript. The author claims that he tries to find time to PRs but there’s no active support (you cannot create or view issues) on the repository.

Project website https://github.com/AndyMeps/ng2-color-picker

Documentation Docs / Github

License MIT

Demo 

  1. NG color picker downloadable https://github.com/AndyMeps/ng2-color-picker/tree/master/demo

Dependencies

“@angular/common”: “~4.0.0”,
“@angular/compiler”: “~4.0.0”,
“@angular/core”: “~4.0.0”,
“@angular/forms”: “~4.0.0”,
“@angular/platform-browser”: “~4.0.0”,
“ngx-bootstrap”: “~1.6.6”,
“rxjs”: “^5.1.0”,
“zone.js”: “^0.8.4”

NPM

https://www.npmjs.com/package/ng2-color-picker

npm i ng2-color-picker

Features

  • setting up the availableColors (array of hex color values example ‘#fce446’)
  • setting up container’s width and height
  • definiting container border radius

You may also like...