PackageTrack
Sign in Get early access

colored

The most simple way to add colors in your terminal

3.1.1 216M downloads/mo #470 most downloaded on crates.io mackwic/colored

What this package is like to depend on

Last release 7 months ago

16 Jan 2026

Ships unpredictably

gaps range from 1 weeks to 3.0 years

Most releases are documented

notes for 29 of 33 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

33 releases · first in 2016

1 release in the last 12 months

see the full history below

Release timeline

33 releases · Mar 2016 to Jan 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 33
  1. 3.1.1 16 Jan 2026
    Release notes

    3.1.1

    Trigger new release

    Open source →
  2. 3.0.0 07 Jan 2025
    Release notes
    • [BREAKING CHANGE]: Upgrade MSRV to 1.80 and remove the then unnecessary lazy_static dependency.
    Open source →
    Release notes
    • [BREAKING CHANGE]: Upgrade MSRV to 1.80 and remove the then unnecessary lazy_static dependency.
    Open source →
  3. 2.2.0 15 Dec 2024
    Release notes

    2.2.0 (#186)

    * Update to 2.2.0

    * Resolve clippy warnings

    Warnings added in a later version of clippy.

    Open source →
    Release notes
    • Updated top-level docs to include a note about ColoredString's role in the Colorize pipeline as well as link to it to suggest learning more about how to manipulate existing ColoredString's.
    • Changes to ColoredString:
      • Expose fields.
      • [DEPRECATION]: Deprecated methods fgcolor, bgcolor, and style due to their obsolescence in the face of the exposing of their represented fields.
      • Add methods for clearing specific elements of fgcolor, bgcolor, and style.
      • Change Default implementation to be via derive as Style now implements Default (see changes to Style below).
      • Add implementation of DerefMut.
      • Updated docs to reflect the above changes as well as generally greatly expand them.
    • Changes to Style:
      • Implemented Default for Style (returns CLEAR). This exposes a method by which users can create plain Style's from scratch.
      • Implemented From<Styles> for Style. This lets users easily create Style's from specific styles.
      • Exposed previously private method add.
      • Created method remove which essentially does the opposite.
      • Added builder-style methods in the vein of Colorize to add stylings (e.g. bold, underline, italic, strikethrough).
      • Implemented bitwise operators BitAnd, BitOr, BitXor, and Not as well as their representative assignment operators. You can also use a Styles as an operand for these.
      • Implemented FromIterator<Styles> for Style.
    • Changes to Styles:
      • Implemented bitwise operators BitAnd, BitOr, BitXor, and Not which all combine Styles's and output Style's. These can also take a Style as an operand.
    • Added additional testing for all of the above changes.
    • Added methods with_style and with_color_and_style to Colorize.
    Open source →
  4. 2.1.0 10 Dec 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v2.0.4...v2.1.0

    Open source →
    Release notes
    • Impl From<String> for ColoredString by @mahor1221 in https://github.com/colored-rs/colored/pull/126
    • Allow conversion from ColoredString to Error by @spenserblack in https://github.com/colored-rs/colored/pull/86
    • Suggestion for minor documentation clarification by @jonasbn in https://github.com/colored-rs/colored/pull/98
    • Remove unnecessary is_terminal dependency by @Oakchris1955 in https://github.com/colored-rs/colored/pull/149
      • Document crate MSRV of 1.70.
    Open source →
  5. 2.0.4 05 Jul 2023
    Release notes
    • Switch from winapi to windows-sys.
    Open source →
    Release notes
    • Switch from winapi to windows-sys.
    Open source →
  6. 2.0.3 05 Jul 2023
    Release notes
    • Document crate MSRV of 1.63.
    Open source →
    Release notes
    • Document crate MSRV of 1.63.
    Open source →
  7. 2.0.2 05 Jul 2023
    Release notes
    • Fix typo in src/control.rs.
    • Replace atty dependency with is-terminal.
    Open source →
    Release notes
    • Fix typo in src/control.rs.
    • Replace atty dependency with is-terminal.
    Open source →
  8. 2.0.1 03 Jul 2023
    Release notes
    • Add edition for future compatibility.
    • Implement custom colors that can be stored in a variable.
    Open source →
    Release notes
    • Add edition for future compatibility.
    • Implement custom colors that can be stored in a variable.
    Open source →
  9. 2.0.0 14 Jul 2020
    Release notes
    • Add support for true colours.
    • Alter Color interface to return Cow<'static, str>
    Open source →
  10. 1.9.4 24 Jul 2023
    Release notes
    • Replace atty dependency with is-terminal.
    Open source →
  11. 1.9.3 24 Feb 2020
    Release notes
    • Fix compilation regression for 1.34.0. Thanks @jlevon for reporting.
    Open source →
  12. 1.9.2 10 Jan 2020
    Release notes
    • Exposed ColoredString data through methods for purposes of interrogating the applied colours.
    • Increased documentation.
    Open source →
  13. 1.9.1 31 Dec 2019
    Release notes
    • Remove deprecated try! macro in codebase
    • Reduce allocations in ColoredString impl (PR#65)
    • Added "purple" as match in impl FromStr for Color (PR#71)
    Open source →
  14. 1.9.0 11 Nov 2019
    Release notes
    • [POSSIBLE_BREAKING CHANGE]: Replace winconsole with winapi:
      • Changes set_virtual_terminal function signature.
    • Update dependencies
    • Add Dockerfile
    • Respect tty discovery for CLICOLOR
    Open source →
  15. 1.8.0 30 Apr 2019
    Release notes
    • FEAT: support Windows 10 colors
    Open source →
  16. 1.7.0 05 Jan 2019
    Release notes
    • TECH: update lazy_static
    • FEAT: introduce respect for the NO_COLOR environment variable
    Open source →
  17. 1.6.1 09 Jul 2018
    Release notes
    • TECH: update lazy_static
    • CHORE: fix typos in README and documentation
    Open source →
  18. 1.6.0 31 Oct 2017
    Release notes
    • FEAT: introduced bright colors. "hello".bright_blue().on_bright_red();
    • FEAT: introduced strikethrough styling. "hello".strikethrough();
    Open source →
  19. 1.5.3 28 Sep 2017
    Release notes
    • FEAT: derive Copy and Clone for Color
    • FEAT: derive Clone for ColoredString
    Open source →
  20. 1.5.2 06 Jul 2017
    Release notes
    • FIX: method Colorize::reversed has been added. Colorize::reverse was a typo, that we will keep for compatibility
    Open source →
  21. 1.5.1 09 May 2017
    Release notes
    • Update lazy_static to 0.2.
    Open source →
  22. 1.5.0 01 May 2017
    Release notes
    • FEAT: support for "hello".color("blue") (dynamic colors)
    Open source →
  23. 1.4.1 05 Mar 2017

    Nothing published for this version

  24. 1.4.0 18 Dec 2016

    Nothing published for this version

  25. 1.3.2 26 Nov 2016
    Release notes
    • FIX: usage of nested ColoredString again, no more style broken mid-line
    Open source →
  26. 1.3.1 14 Oct 2016
    Release notes
    • FIX: usage of ColoredString in a nested way broke the styling mid-line
    Open source →
  27. 1.3.0 31 Jul 2016
    Release notes
    • Provide various options for disabling the coloring in an API-compatible way
    Open source →
  28. 1.2.0 30 Mar 2016
    Release notes
    • Support the different formatting options, like padding and alignment
    Open source →
  29. 1.1.2 28 Mar 2016

    Nothing published for this version

  30. 1.1.1 28 Mar 2016

    Nothing published for this version

  31. 1.1.0 15 Mar 2016
    Release notes
    • Respect the CLICOLOR/CLICOLOR_FORCE behavior. See this specs
    Open source →
  32. 1.0.1 14 Mar 2016
    Release notes
    • Add a CHANGLOG
    • Fix crate dependencies: move ansi_term in dev_dependencies
    Open source →
  33. 1.0.0 13 Mar 2016
    Release notes
    • Initial release
    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