JSPM

  • Created
  • Published
  • Downloads 20111
  • Score
    100M100P100Q130508F
  • License MIT

Angular Color Picker: Using sliders, a beautiful color palette, or through text input(hex, rgba, hsla)

Package Exports

  • ngx-colors

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ngx-colors) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ngx-colors

Beautiful Angular component for selecting a color from a color palette, a Color Picker (Hue, Lightness, Alpha sliders) or through text input(hex, rgba, hsla)

Demo

https://ngx-colors.web.app/

Preview

Low quality gif

Installation

Npm

npm install @angular/animations

Npm

npm install ngx-colors

Usage

Load the module for your app:
import { NgxColorsModule } from 'ngx-colors';

@NgModule({
  ...
  imports: [
    ...
    NgxColorsModule
  ]
})
Use it in your HTML template:
<ngx-colors ngx-colors-trigger [(ngModel)]="color"></ngx-colors>