FLUTTER ECOSYSTEM

color_models

A set of classes representing the CMYK, HSI, HSL, HSP, HSB, LAB, Oklab, RGB, and XYZ color spaces with methods to convert colors between each space.

Latest version
2.0.0
30-day downloads
3.5K
Likes
19
Pub points
140

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The color_models package provides a comprehensive set of classes for handling various color spaces including CMYK, HSI, HSL, HSP, HSB, LAB, Oklab, RGB, and XYZ. It enables seamless conversion between these models, making it ideal for applications requiring precise color manipulation and accurate color representation across different systems. The package is designed with clean, intuitive APIs and supports all major platforms. It's particularly useful in design tools, image processing apps, and any project where consistent color behavior across devices is essential.

Use cases
  • Color space conversion in design apps
  • Accurate color representation across devices
  • Image editing and processing
  • Custom color picker implementations
  • Scientific color analysis
Key features
  • Support for 9 major color spaces
  • Bidirectional color conversions
  • Cross-platform compatibility
  • Clean and intuitive API
  • Precise color model calculations
Suitable for
  • UI/UX developers
  • Design tool creators
  • Image processing applications
  • Color science researchers
  • Frontend developers working with advanced color logic
Considerations
  • Requires understanding of color space theory
  • May increase app size slightly
  • Not optimized for real-time high-frequency conversions
  • Best used with careful performance profiling
  • Limited documentation beyond basic usage
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add color_models

Categories

Source repository

Related projects