palette 1.1.0+1 copy "palette: ^1.1.0+1" to clipboard
palette: ^1.1.0+1 copied to clipboard

A package for creating, generating, and interfacing with color palettes. With support for the CMYK, HSI, HSL, HSP, HSB, LAB, Oklab, RGB, and XYZ color spaces.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add palette

With Flutter:

 $ flutter pub add palette

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  palette: ^1.1.0+1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:palette/palette.dart';
4
likes
130
pub points
59%
popularity

Publisher

verified publisherjamesalex.dev

A package for creating, generating, and interfacing with color palettes. With support for the CMYK, HSI, HSL, HSP, HSB, LAB, Oklab, RGB, and XYZ color spaces.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

color_models, num_utilities, unique_list

More

Packages that depend on palette