Sha256: ec3eabd8ef2cedd799e7f02a3ed9977e2b344d56e45746db141c58a3eaada238

Contents?: true

Size: 205 Bytes

Versions: 110

Compression:

Stored size: 205 Bytes

Contents

# This namespace contains some CSS colour names.
module Color::CSS
  # Returns the RGB colour for name or +nil+ if the name is not valid.
  def self.[](name)
    Color::RGB.by_name(name) { nil }
  end
end

Version data entries

110 entries across 110 versions & 2 rubygems

Version Path
atome-0.5.6.2.1 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.6.2.0 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.6.1.9 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.6.1.4 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.6.1.1 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.6.1.0 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.6.0.4 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.6.0.3 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.6.0.2 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.5.9.1 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.5.8.7 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.5.8.5 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.5.8.1 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.5.7.7 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.5.7.5 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.5.7.3 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.5.7.1 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.5.7.0 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.5.6.9 lib/atome/helpers/color_helper/color/css.rb
atome-0.5.5.6.8 lib/atome/helpers/color_helper/color/css.rb