Module: Color::CSS

### Home Classes Methods

### In Files

- lib/color/css.rb

### Methods

- ::[]

### Files

- Manifest.txt

### Class/Module Index

Quicksearch

- Color
- Color::CMYK
- Color::CSS
- Color::GrayScale
- Color::GrayScale
- Color::HSL
- Color::Palette
- Color::Palette::AdobeColor
- Color::Palette::Gimp
- Color::Palette::MonoContrast
- Color::RGB
- Color::RGB::Metallic
- Color::YIQ
- Object
- Object::GreyScale

No matching classes.

# Color::CSS

This namespace contains some CSS colour names.

### Public Class Methods

[](name) click to toggle source

Returns the RGB colour for name or `nil` if the name is not valid.

    # File lib/color/css.rb, line 4
    def self.[](name)
      Color::RGB.by_name(name) { nil }
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.