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

https://github.com/sixarm/sixarm_ruby_colorful

SixArm.com » Ruby » Colorful generates simple random color names and shade names
https://github.com/sixarm/sixarm_ruby_colorful

color gem names ruby

Last synced: 4 months ago
JSON representation

SixArm.com » Ruby » Colorful generates simple random color names and shade names

Awesome Lists containing this project

README

          

# SixArm.com → Ruby →
Colorful gem generates simple random color names and shade names

[![Gem Version](https://badge.fury.io/rb/sixarm_ruby_colorful.svg)](http://badge.fury.io/rb/sixarm_ruby_colorful)
[![Build Status](https://travis-ci.org/SixArm/sixarm_ruby_colorful.png)](https://travis-ci.org/SixArm/sixarm_ruby_colorful)
[![Code Climate](https://api.codeclimate.com/v1/badges/8a2dea9873042128a3d0/maintainability)](https://codeclimate.com/github/SixArm/sixarm_ruby_colorful/maintainability)

* Git:
* Doc:
* Gem:
* Contact: Joel Parker Henderson,
* Project: [changes](CHANGES.md), [license](LICENSE.md), [contributing](CONTRIBUTING.md).

## Introduction

Color names and shades that generate simple random color names.

Based on the NBS/ISCC Color System, The Universal Language of Color.

See http://www.anthus.com/Colors/NBS.html

For docs go to

Want to help? We're happy to get pull requests.

## Install

### Gem

To install this gem in your shell or terminal:

gem install sixarm_ruby_colorful

### Gemfile

To add this gem to your Gemfile:

gem 'sixarm_ruby_colorful'

### Require

To require the gem in your code:

require 'sixarm_ruby_colorful'

## Examples

Colorful.choice => Light Red
Colorful.colors.choice => Red
Colorful.shades.choice => Light

## Colors and Shades

Colors available:
Red, Orange, Yellow, Green, Blue, Indigo, Violet
Cyan, Magenta, Pink, Purple, Brown,
Gold, Silver, Bronze, Copper, Platinum,
Aquamarine, Azure, Beige, Cerulean,
Chartreuse, Crimson, Fucshia, Khaki,
Maroon, Mauve, Scarlet, Sepia,
Sienna, Tan, Teal, and Turquoise

Shades available:
Brilliant, Bright, Dark, Deep, Light,
Moderate, Pale, Vivid