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.6.5.7 lib/atome/utilities/color_helper/color/rgb/metallic.rb
atome-0.5.6.5.6 lib/atome/utilities/color_helper/color/rgb/metallic.rb
atome-0.5.6.5.4 lib/atome/utilities/color_helper/color/rgb/metallic.rb
atome-0.5.6.5.1 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.4.8 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.4.5 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.4.2 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.4.1 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.4.0 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.3.9 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.3.6 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.3.5 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.3.1 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.3.0 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.2.9 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.2.7 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.2.5 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.2.4 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.2.3 lib/atome/helpers/color_helper/color/rgb/metallic.rb
atome-0.5.6.2.1 lib/atome/helpers/color_helper/color/rgb/metallic.rb