PackageTrack
Sign in Get early access

from_css_color

Creates Color instance from CSS color string according to https://drafts.csswg.org/css-color-3

2.0.0 238K downloads/mo #784 most downloaded on pub.dev alex-myznikov/from_css_color

What this package is like to depend on

Last release 5 years ago

no release in 18 months

Ships fairly regularly

a new release about every 2 months

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

7 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · May 2020 to Mar 2021
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. 2.0.0 31 Mar 2021
    Release notes
    • Migrate to null-safety.
    • Remove fromCSSColor()/isCSSColor(), which was deprecated since 1.2.0 in favor of fromCssColor()/isCssColor() to meet the effective Dart style guide.
    Open source →
  2. 1.2.0 05 Jan 2021
    Release notes
    • Add isCssColor() function to check color string format correctness.
    Open source →
  3. 1.1.0 15 Dec 2020
    Release notes
    • Add toCssColor() extension method to convert Color instance to CSS color string.
    Open source →
  4. 1.0.0 29 Aug 2020
    Release notes
    • Add support for 4 (#rgba) and 8 (#rrggbbaa) digit hex colors.
    • Update versioning to stable after 3 months of usage in production (no breaking changes expected).
    Open source →
  5. 0.1.1 18 Jun 2020
    Release notes
    • Update readme and file formatting.
    Open source →
  6. 0.1.0 18 Jun 2020
    Release notes
    • Support for 'transparent' color keyword.
    • Support for hsl/hsla colors.
    Open source →
  7. 0.0.1 05 May 2020
    Release notes
    • Support for 3 and 6 digit hex colors.
    • Support for rgb/rgba colors.
    • Support for X11 keywords.
    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