toRGB property
Convert this to a RGBA color space
Implementation
@override
RGBAColor get toRGB {
final hexDigits = hex.split('');
final r = int.parse(hexDigits.sublist(0, 2).join(), radix: 16);
final g = int.parse(hexDigits.sublist(2, 4).join(), radix: 16);
final b = int.parse(hexDigits.sublist(4).join(), radix: 16);
return RGBAColor(red: r, green: g, blue: b);
}