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
140
points
20
downloads

Publisher

verified publisherjamesalex.dev

Weekly Downloads

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)

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

color_models, num_utilities, unique_list

More

Packages that depend on palette