Color():blue()
Extracts the blue color value from a hex color string.
Description
The blue()
method extracts the blue channel value from a hex color string. The hex color should be in the format "#RRGGBB" where BB represents the blue component. This method returns the decimal value (0-255) of the blue component.
Signature
blue(): number
Returns
number
- The blue channel value (0-255) from the hex color