PackageTrack
Sign in Get early access

color

A simple Dart package exposing a Color class which can be used to create, convert, alter, and compare colors in a variety of colorspaces.

3.0.0 682K downloads/mo #432 most downloaded on pub.dev MichaelFenwick/Color

What this package is like to depend on

Last release 5 years ago

no release in 18 months

Release timing varies

gaps range from 2 months to 2.4 years

Most releases are documented

notes for 9 of 11 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

11 releases · first in 2014

0 releases in the last 12 months

see the full history below

Release timeline

11 releases · Jan 2014 to Mar 2021
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 11
  1. 3.0.0 09 Mar 2021
    Release notes
    • Updated code for null safety.
    Open source →
  2. 2.1.1 08 Oct 2018

    Nothing published for this version

  3. 2.0.2 03 Jul 2017

    Nothing published for this version

  4. 2.0.1 14 Mar 2017
    Release notes
    • Removed a switch statement that was preventing dart2js compilation.
    Open source →
  5. 2.0.0 24 Jun 2015
    Release notes

    Releasing version 2.0.0

    Open source →
    Release notes
    • Color and all subclasses now implement a const constructor.
    • Colors are no longer mutable, and all conversion and filter methods return new Color objects.
    • Removed the Color.clone() method (this was only generally useful when Colors were mutable).
    • Adjusted the greyscale and invert ColorFilters to use the CIELAB color space, giving better results.
    • Added a lighten and darken ColorFilter.
    • Added an RgbColor.name() constructor to create colors by CSS3 name.
    • Added a Color.toHexColor() method for easier conversion to the HexColor class.
    • Added a CssColorSpace interface for the color spaces which have representation in the CSS standard (RGB, HEX, and HSL).
    Open source →
  6. 1.3.0 03 Apr 2015
    Release notes

    Releasing version 1.3.0

    Open source →
    Release notes
    • Added toXXXColor() conversion methods for all possible color space transitions.
    • Added Color.clone() method to make a copy of a Color object.
    • Added toCssString() method to RGB, Hex, and HSL colors for easier use with CSS.
    • Added ColorFilters to alter colors according to various filtering rules.
    • Added a demo page to test the package and see the effect of filters.
    Open source →
  7. 1.2.0 21 Jan 2015
    Release notes
    • Added CIELAB color space support with bidirectional conversions with the XYZ color space (and the RGB color space using XYZ as an intermediary).
    Open source →
  8. 0.3.1 27 May 2014
    Release notes
    • Resolved bug where Color.toHexString() was not prepending each byte with 0s as appropriate.
    • Added Color.toRgbString() as an alias for Color.toSting().
    Open source →
  9. 0.3.0 30 Jan 2014
    Release notes
    • Added hsl support and conversion functions.
    Open source →
  10. 0.2.0 27 Jan 2014
    Release notes
    • Added hex support and conversion functions.
    Open source →
  11. 0.1.0 26 Jan 2014
    Release notes
    • Creation of the Color class supporting rgb colors.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive