fancywork 1.0.3 copy "fancywork: ^1.0.3" to clipboard
fancywork: ^1.0.3 copied to clipboard

fancywork

fancywork #

Module for working with palette

It can:

  1. find palette item (DMC) by code. Example: final dmc = findDmcByCode('Black');

  2. get delta E (CIE76) between two LABs. https://en.wikipedia.org/wiki/Color_difference Example: final deltaE = getDeltaE(lab1, lab2);

  3. find nearest palette item (DMC) by LAB. Example: final item = findNearestPalette(lab, kDmcValues);

  4. get average color for multiple items. final rgba = getAvgColor(colors);

  5. get LAB of color. https://en.wikipedia.org/wiki/CIELAB_color_space#CIELAB final lab = rgbaToLab(rgba);

Getting Started #

For help getting started with Flutter, view our online documentation.

Testing #

flutter test test/entry_point.dart

0
likes
15
pub points
0%
popularity

Publisher

unverified uploader

fancywork

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter, matcher

More

Packages that depend on fancywork