Module: Color::CSS

Defined in:
lib/atome/utilities/color_helper/color/css.rb

Overview

This namespace contains some CSS colour names.

Class Method Summary collapse

Class Method Details

.[](name) ⇒ Object

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



4
5
6
# File 'lib/atome/utilities/color_helper/color/css.rb', line 4

def self.[](name)
  Color::RGB.by_name(name) { nil }
end