https://github.com/bitmaybewise/colorido
A ruby gem that provides color names and the rgb and hexadecimal codes.
https://github.com/bitmaybewise/colorido
color-names colors gem ruby
Last synced: about 1 year ago
JSON representation
A ruby gem that provides color names and the rgb and hexadecimal codes.
- Host: GitHub
- URL: https://github.com/bitmaybewise/colorido
- Owner: bitmaybewise
- License: other
- Created: 2017-05-10T22:12:53.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T22:23:51.000Z (about 9 years ago)
- Last Synced: 2025-04-13T12:09:27.236Z (about 1 year ago)
- Topics: color-names, colors, gem, ruby
- Language: Ruby
- Homepage: https://rubygems.org/gems/colorido
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# Colorido
A gem that provides color names and the rgb and hexadecimal codes.
gem install colorido
## How to use
```ruby
colorido = Colorido.new
colorido.colors # returns all colors as structs
# color sample
#>
colorido.names # returns all color names
colorido.codenames # returns all color codenames
colorido.pick_random # pick a random color
```