uni_color_model 0.2.0 uni_color_model: ^0.2.0 copied to clipboard
A color structure for represent any color: model (CMYK, RGB, HSL, etc.), alpha, depth per channel, view, etc. Сan transform the structures.
// ignore_for_file: avoid_print
import 'package:uni_color_model/uni_color_model.dart';
void main() {
final c = 0x1805db.rgbInt8ToRgbInt8Color;
print(c.int24Hex);
print(c.hasAlpha);
print('Red channel: #${c.r.hex()}');
}