green

green($color)

Gets the green component of a color. Calculated from HSL where necessary via this algorithm.

Parameters:

  • $color (Color)

Returns:

  • (Number) The green component, between 0 and 255 inclusive

Raises:

  • (ArgumentError) if $color isn’t a color
doc_Sass
2016-11-11 13:09:08
Comments
Leave a Comment

Please login to continue.