Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/artemeff/coolr

Generate color from string in Erlang
https://github.com/artemeff/coolr

Last synced: 12 days ago
JSON representation

Generate color from string in Erlang

Awesome Lists containing this project

README

        

### coolr

---

Coolr can generate beaty colors from strings. Inspired by [String to Color](https://github.com/brandoncorbin/string_to_color) and [Colos gem](https://github.com/artemeff/colos).

---

```erlang
> coolr:do("test").
% => "194F5D"
> coolr:do("coolr").
% => "1EC053"
> coolr:do("artemeff").
% => "CFA5FE"
> coolr:do("erlang", -25).
% => "99B967"
```

---

### Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request