blue method

Dimension blue(
  1. Color color
)

Extracts the blue channel of a color object.

Parameters: color - a color object. Returns: integer 0-255 Example: blue(rgb(10, 20, 30)) Output: 30

Implementation

Dimension blue(Color color) => Dimension(color.b);