uni_color_name 0.7.0 copy "uni_color_name: ^0.7.0" to clipboard
uni_color_name: ^0.7.0 copied to clipboard

Identifies the value of a color by name and vice versa. Knows over 1000 color names. The easy-to-use and well-tested library for fuzzy search.

example/main.dart

// ignore_for_file: avoid_print

import 'package:uni_color_name/uni_color_name.dart';

/// See also `example/all_palettes` forlder with Flutter SDK example
/// that visualize a palette.
void main() {
  final u = UniColorName(zeplinPalette);
  print(u.value('forrest green'));
  print(u.name(RgbInt8Color.rgb(0x15, 0x44, 0x06)));
}
1
likes
160
pub points
42%
popularity
screenshot

Publisher

verified publishersyrokomskyi.com

Identifies the value of a color by name and vice versa. Knows over 1000 color names. The easy-to-use and well-tested library for fuzzy search.

Repository (GitHub)
View/report issues
Contributing

Topics

#identify #color #palette #detector #search

Documentation

API reference

License

MIT (license)

Dependencies

uni_color_model, uni_color_palette

More

Packages that depend on uni_color_name