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

outdated

Get a name for given Color

Color Names #

Get a name for given Color

See working Online Demo

Getting Started #

Follow instruction for Installation.

Import the package:

import 'package:colornames/colornames.dart' 

Usage #

Provide a Color to ColorNames.guess(color) or use extension method on color or int.

final color = Color(0xFFFFFF);
ColorNames.guess(color) ; // White
color.colorName; // White

final int colorValue = 128;
colorValue.colorName; // Navy Blue
0x007fff.colorName;// Azure
15
likes
0
points
517
downloads

Publisher

verified publisherthexaib.com

Weekly Downloads

Get a name for given Color

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on colornames