argb method

Anonymous argb(
  1. Color color
)

Creates a hex representation of a color in #AARRGGBB format (NOT #RRGGBBAA!). This format is used in Internet Explorer, and .NET and Android development.

Parameters: color, color object. Returns: string Example: argb(rgba(90, 23, 148, 0.5)); Output: #805a1794

Implementation

Anonymous argb(Color color) => Anonymous(color.toARGB())..parsed = true;