Search packages, repositories and app categories

Package detailsv1.3.3+2

flutter_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.

30-day downloads
138
Likes
33
Pub points
40

Install package

flutter pub add flutter_color_models

Package Overview

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

flutter_color_models provides a comprehensive set of classes for working with 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 precise color manipulation in Flutter applications. The package is designed for developers needing accurate color representation and transformation across different standards, especially in design tools, theme systems, or color picker implementations. All conversions are mathematically grounded and optimized for performance.

Use cases

  • Color space conversion in design apps
  • Creating dynamic themes with precise color control
  • Building advanced color pickers
  • Implementing color correction workflows
  • Integrating multi-space color logic

Key features

  • Support for 9 major color spaces
  • Bidirectional color conversions
  • Mathematically accurate transformations
  • Lightweight and efficient
  • Clean, intuitive API

Suitable for

  • UI/UX developers
  • Design tool creators
  • Theme system implementers
  • Color science enthusiasts
  • Flutter app developers needing precision

Considerations

  • Requires understanding of color space concepts
  • Not optimized for real-time animation
  • Limited to static color operations
  • No built-in UI components
  • Depends on correct input values for accurate results

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 2 items

Source repository

Projects using this package