Sha256: da735d8f327c57c46c9494a6b9c5f7a870fed5319863d7d491ec4bed19950659

Contents?: true

Size: 805 Bytes

Versions: 109

Compression:

Stored size: 805 Bytes

Contents

# -*- ruby encoding: utf-8 -*-

class Color::RGB
  # This namespace contains some RGB metallic colours suggested by Jim
  # Freeze.
  module Metallic; end

  class << self
    private
    def metallic(rgb, *names)
      __named_color(Metallic, new(*rgb), *names)
    end
  end

  metallic [0x99, 0x99, 0x99], :Aluminum
  metallic [0xd9, 0x87, 0x19], :CoolCopper
  metallic [0xb8, 0x73, 0x33], :Copper
  metallic [0x4c, 0x4c, 0x4c], :Iron
  metallic [0x19, 0x19, 0x19], :Lead
  metallic [0xb3, 0xb3, 0xb3], :Magnesium
  metallic [0xe6, 0xe6, 0xe6], :Mercury
  metallic [0x80, 0x80, 0x80], :Nickel
  metallic [0x60, 0x00, 0x00], :PolySilicon, :Poly
  metallic [0xcc, 0xcc, 0xcc], :Silver
  metallic [0x66, 0x66, 0x66], :Steel
  metallic [0x7f, 0x7f, 0x7f], :Tin
  metallic [0x33, 0x33, 0x33], :Tungsten
end

Version data entries

109 entries across 109 versions & 2 rubygems

Version Path
atome-0.5.5.6.6 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.5.6.5 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.5.6.4 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.4.1.9 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.4.1.7 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.4.1.3 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.4.1.2 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.4.1.1 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.4.1.0 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.4.0.9 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.3.8.8 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.3.8.1 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.3.8.0 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.3.7.8 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.3.7.3 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.3.7.2 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.3.4 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.3.2 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.2.8 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.2.7 lib/atome/helpers/color_helper/color/rgb/metallic.rb