class Sass::Script::Color

def to_s

Returns:
  • (String) - The string representation
def to_s
  return HTML4_COLORS_REVERSE[rgb] if HTML4_COLORS_REVERSE[rgb]
  red, green, blue = rgb.map { |num| num.to_s(16).rjust(2, '0') }
  "##{red}#{green}#{blue}"
end