colornamer-rs

Give me a color and I will name it.

colornamer-rs is in the early stages of development and the api should be considered unstable

About

Naming things is one of the hard things in computer science. colornamer-rs is a library written in Rust that helps you come up with a good name for a color. It does this by converting the color to RGB space and then finding the nearest neighbor.

Example

```rust extern crate colornamer;

use colornamer::Colors;

fn main() { // dodgerblue let name = colornamer::namecolorhex("#1E90FF", Colors::HTML); println!("I will call this color '{}'", name); } ```

Lists

The color names are derived from several lists:

TODO

Acknowledgements

This library is based on the wonderful color-namer library for nodejs.

License

MIT (see LICENSE)