class Sass::Script::Color

def with(attrs)

Returns:
  • (Color) - The new Color object

Parameters:
  • attrs ({Symbol => Fixnum}) --
def with(attrs)
  Color.new([
      attrs[:red] || rgb[0],
      attrs[:green] || rgb[1],
      attrs[:blue] || rgb[2],
    ])
end