uni_color_name 0.6.0 copy "uni_color_name: ^0.6.0" to clipboard
uni_color_name: ^0.6.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 palette = UniPalette(zeplinColors);
  final u = UniColorName(palette);
  print(u.value('forrest green'));
  print(u.name(RgbInt8Color.rgb(0x15, 0x44, 0x06)));
}
2
likes
150
points
80
downloads
screenshot

Publisher

verified publishersyrokomskyi.com

Weekly Downloads

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)
Contributing

Topics

#identify #color #palette #detector #image

Documentation

API reference

License

MIT (license)

Dependencies

uni_color_model, uni_color_palette

More

Packages that depend on uni_color_name