uni_color_model 0.2.0 copy "uni_color_model: ^0.2.0" to clipboard
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.

example/main.dart

// 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()}');
}
0
likes
130
pub points
30%
popularity
screenshot

Publisher

verified publishersyrokomskyi.com

A color structure for represent any color: model (CMYK, RGB, HSL, etc.), alpha, depth per channel, view, etc. Сan transform the structures.

Repository (GitHub)
View/report issues
Contributing

Topics

#color #model #transform #converter #palette

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, wfile

More

Packages that depend on uni_color_model