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.7.6.5 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.6.0 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.5.9 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.5.4 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.5.3 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.5.1 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.4.8 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.4.7 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.4.6 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.4.3 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.4.2 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.3.9 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.3.6 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.3.5 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.3.3 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.3.2 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.3.1 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.3.0 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.1.8 lib/atome/utilities/color_helper/color/css.rb
atome-0.5.7.1.7 lib/atome/utilities/color_helper/color/css.rb