Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/artemeff/coolr
- Owner: artemeff
- License: mit
- Created: 2014-11-15T11:47:15.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-11T08:05:40.000Z (over 9 years ago)
- Last Synced: 2024-11-05T12:12:49.360Z (about 2 months ago)
- Language: Erlang
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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