# File lib/less/engine/nodes/literal.rb, line 51 def to_s if a < 1.0 "rgba(#{r.to_i}, #{g.to_i}, #{b.to_i}, #{a})" else "#%02x%02x%02x" % [r, g, b] end end