compass/src/test/testData/gems/compass-0.13.alpha.2/lib/compass/sass_extensions/functions/colors.rb
# returns an IE hex string for a color with an alpha channel
# suitable for passing to IE filters.
returns an IE hex string for a color with an alpha channel
suitable for passing to IE filters.
returns an IE hex string for a color with an alpha channel suitable for passing to IE filters .
def ie_hex_str(color)
    assert_type color, :Color
    alpha = (color.alpha * 255).round
    alphastr = alpha.to_s(16).rjust(2, '0')
    Sass::Script::String.new("##{alphastr}#{color.send(:hex_str)[1..-1]}".upcase)
  end
def ie_hex_str ( color ) assert_type color , :Color alpha = ( color . alpha * 255 ) . round alphastr = alpha . to_s ( 16 ) . rjust ( 2 , '0' ) Sass :: Script :: String . new ( "##{alphastr}#{color.send(:hex_str)[1..-1]}" . upcase ) end
returns an IE hex string for a color with an alpha channel
suitable for passing to IE filters.
returns an IE hex string for a color with an alpha channel suitable for passing to IE filters .
color