colornames 0.0.1+3 copy "colornames: ^0.0.1+3" to clipboard
colornames: ^0.0.1+3 copied to clipboard

Get a name for given Color. This package contains hardcoded names for 2231 color values. For an input color, it finds a name in the list which has the closest match.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add colornames

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  colornames: ^0.0.1+3

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:colornames/colornames.dart';
11
likes
140
pub points
90%
popularity

Publisher

verified publisherthexaib.com

Get a name for given Color. This package contains hardcoded names for 2231 color values. For an input color, it finds a name in the list which has the closest match.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on colornames