rgb

rgb($red, $green, $blue)

Creates a Color object from red, green, and blue values.

Parameters:

  • $red (Number) The amount of red in the color. Must be between 0 and 255 inclusive, or between 0% and 100% inclusive
  • $green (Number) The amount of green in the color. Must be between 0 and 255 inclusive, or between 0% and 100% inclusive
  • $blue (Number) The amount of blue in the color. Must be between 0 and 255 inclusive, or between 0% and 100% inclusive

Returns:

  • (Color)

Raises:

  • (ArgumentError) if any parameter is the wrong type or out of bounds
doc_Sass
2016-11-11 13:09:21
Comments
Leave a Comment

Please login to continue.