Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/artemeff/colos

Converting ruby strings to colors, just for fun
https://github.com/artemeff/colos

Last synced: about 2 months ago
JSON representation

Converting ruby strings to colors, just for fun

Awesome Lists containing this project

README

        

# colos

[![Gem version](https://badge.fury.io/rb/colos.png)](https://rubygems.org/gems/colos)
[![Build Status](https://secure.travis-ci.org/artemeff/colos.png)](https://travis-ci.org/artemeff/colos)

Convert ruby string to color.

### Install

gem install colos

### Usage

```ruby
require 'colos'

Colos.color "test" # => "924436"
Colos.color "greenish" # => "9bc63b"
Colos.color "ruby" # => "da9535"
Colos.color "colos" # => "642fa7"
```

### Copyright

Copyright (c) 2012 Yuri Artemev. See LICENSE.txt for further details.