hexadecimal property

String get hexadecimal

Returns the hexadecimal representation of the color.

Implementation

String get hexadecimal => '#${argb.toRadixString(16).removeFirst(2).padLeft(6, '0')}';