color.toHexString()
Categories: CSS | Color Object
color.toHexString( [ includeAlpha ] )Returns: String
Plugin: jQuery.color
Description: Get hex color string.
-
color.toHexString( [ includeAlpha ] )
version added: 1.2includeAlpha A boolean indication whether to include the alpha value.
Returns a "hex" css string "#abcdef", with includeAlpha uses "#rrggbbaa" (alpha *= 255).