fancywork 1.0.2 fancywork: ^1.0.2 copied to clipboard
fancywork
fancywork #
Module for working with palette
It can:
-
find palette item (DMC) by code. Example: final dmc = findDmcByCode('Black');
-
get delta E (CIE76) between two LABs. https://en.wikipedia.org/wiki/Color_difference Example: final deltaE = getDeltaE(lab1, lab2);
-
find nearest palette item (DMC) by LAB. Example: final item = findNearestPalette(lab, kDmcValues);
-
get average color for multiple items. final rgba = getAvgColor(colors);
-
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