isColor method

bool isColor()

Implementation

bool isColor() =>
    int.tryParse('FF${(this ?? '').replaceAll('#', '')}', radix: 16) != null;