Search packages, repositories and app categories

Package detailsv2.0.0

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.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
1K
Likes
19
Pub points
140

Install package

flutter pub add color_models

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

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

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

color_models / flutter_color_models

The color_models and flutter_color_models packages contain a set of objects representing the CMYK, HSI, HSL, HSP, HSB, LAB, Oklab, RGB, and XYZ color spaces with methods to convert colors between each space.

Categories

Dependencies

Dependency list 3 items

Source repository

Projects using this package