class Sass::Script::Lexer
def color
def color return unless @scanner.scan(REGULAR_EXPRESSIONS[:color]) value = if @scanner[4] color = Color::HTML4_COLORS[@scanner[4].downcase] else (1..3).map {|i| @scanner[i]}.map {|num| num.ljust(2, num).to_i(16)} end [:color, Script::Color.new(value)] end