---
title: "colorsys 1.0.0 Breaking Changes on crates.io | Since.dev"
description: "What each colorsys release removed, renamed or changed: 65 breaking changes in 2 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/colorsys
last_updated: 2026-12-04
---

# colorsys breaking changes

colorsys 1.0.0 (December 4, 2026) is its newest release with breaking changes, 57 of them. The first: Deprecated get\_\* getters removed in colorsys 1.0.0. Every breaking API change we have recorded in colorsys on crates.io: 65 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.1.1`, released December 4, 2026. [Source repository](https://github.com/emgyrz/colorsys.rs)

Its 0.8.0 release requires [Rust 1.88](https://since.dev/calendar/rust/1.88.md) or later. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.8.0](#v-0-8-0) to [1.0.0](#v-1-0-0): 57 breaking changes in 1 version.

## colorsys 1.0.0 breaking changes

colorsys 1.0.0, released December 4, 2026: 57 breaking changes.

- **Removed**  

Use the plain getters such as red(), hue() and alpha() instead. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Removed** `Add`  

Use transformation methods or set\_\* instead of the + operator. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Removed** `AddAssign`  

Use transformation methods or set\_\* instead of the += operator. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Removed** `AsRef`  

Use to_array() to get the channel values. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Removed** `colorsys::Ansi256::as_rgb`  

Use Rgb::from to convert an Ansi256 color. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Ansi256::code`  

colorsys::Ansi256::code was removed in colorsys 1.0.0 [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Ansi256::new`  

colorsys::Ansi256::new was removed in colorsys 1.0.0 [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Ansi256::set_code`  

colorsys::Ansi256::set_code was removed in colorsys 1.0.0 [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::ApproxEq`  

Use approx_eq() and approx_eq_eps(), converting colors to the same model first. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Cmyk::as_ratio`  

colorsys::Cmyk::as_ratio was removed in colorsys 1.0.0 [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Cmyk::as_rgb`  

Use Rgb::from to convert a Cmyk color. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::CmykRatio`  

Use the from_ratio and to_ratio family of methods instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::ColorAlpha`  

Alpha methods are now called directly on the color types. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::ColorTransform`  

Transformations are now methods on the color types that return a new color. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::ColorTuple`  

Colors no longer convert into or from tuples; use to_u8() or to_array() instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::ColorTupleA`  

Colors no longer convert into or from tuples; use to_u8_alpha() or to_array_alpha() instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::ColorUnitsIter`  

Use to_array() to get the channel values. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::DEFAULT_APPROX_EQ_PRECISION`  

Use approx_eq() and approx_eq_eps() instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::GrayScaleMethod::AverageProminent`  

Use GrayScaleMethod::HslLightness, including in serde data. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::GrayScaleMethod::Luminance`  

Use GrayScaleMethod::Rec601, including in serde data. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Hsl::as_ratio`  

colorsys::Hsl::as_ratio was removed in colorsys 1.0.0 [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Hsl::get_hue`  

Use hue instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Hsl::get_lightness`  

Use lightness instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Hsl::get_saturation`  

Use saturation instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Hsl::iter`  

colorsys::Hsl::iter was removed in colorsys 1.0.0 [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::HslRatio`  

Use the from_ratio and to_ratio family of methods instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::ParseError::message`  

colorsys::ParseError::message was removed in colorsys 1.0.0 [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::prelude`  

No import is needed now that transformations are methods. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::ratio_converters`  

Use the from_ratio and to_ratio family of methods instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Rgb::as_ratio`  

colorsys::Rgb::as_ratio was removed in colorsys 1.0.0 [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Rgb::from_hex_str`  

Parse hex and CSS color strings with parse::\<Rgb>() instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Rgb::get_blue`  

Use blue instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Rgb::get_green`  

Use green instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Rgb::get_red`  

Use red instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::Rgb::iter`  

colorsys::Rgb::iter was removed in colorsys 1.0.0 [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::RgbRatio`  

Use the from_ratio and to_ratio family of methods instead. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `colorsys::SaturationInSpace`  

HSV saturation is gone; saturation is now HSL based. [crates.io](https://crates.io/crates/colorsys/1.0.0)
- **Removed** `IntoIterator`  

Use to_array() to get the channel values. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Removed** `iter`  

Use to_array() to get the channel values. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Removed** `Sub`  

Use transformation methods or set\_\* instead of the - operator. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Removed** `SubAssign`  

Use transformation methods or set\_\* instead of the -= operator. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Renamed** `adjust_hue`  

Call rotate_hue instead of adjust_hue. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Renamed** `approx_eq_clarify`  

Call approx_eq_eps instead of approx_eq_clarify. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Renamed** `grayscale_simple`  

Call grayscale() instead of grayscale_simple(). [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed**  

Serialized colors now use named r, g, b and a fields; data saved in the old format must be migrated. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `Ansi256.from`  

Gray colors may map to different ANSI codes than before, for example \[128,128,128\] now gives 244. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `Debug`  

Debug formatting of colors prints named fields, so code parsing Debug output will change. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `hsl`  

Strings with bad spacing or stray % now error, and out-of-range numbers are clamped instead of erroring. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `rgb`  

Strings with bad spacing or stray % now error, and out-of-range numbers are clamped instead of erroring. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `to_u8`  

Channel values are rounded to the nearest integer, so 12.7 becomes 13. [github.com](https://github.com/emgyrz/colorsys.rs/blob/v1.0.0/CHANGELOG.md)

And 7 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## colorsys 0.8.0 breaking changes

colorsys 0.8.0, released December 2, 2026: 8 breaking changes.

- **Behavior changed**  

NaN color units and infinite hue values are now converted to 0.0 instead of being kept as they were. [github.com](https://github.com/emgyrz/colorsys.rs/releases/tag/v0.8.0)
- **Behavior changed**  

Hex string parsing now rejects a # anywhere except the first character, so inputs such as f#f#f are errors. [github.com](https://github.com/emgyrz/colorsys.rs/releases/tag/v0.8.0)
- **Behavior changed** `FromStr`  

FromStr now rejects rgba strings whose alpha is greater than 1, so such inputs return an error. [github.com](https://github.com/emgyrz/colorsys.rs/releases/tag/v0.8.0)
- **Behavior changed** `Hsl.invert`  

Hsl::invert also sets lightness to 100 minus the old value, so it now matches Rgb::invert and returns different colors than before. [github.com](https://github.com/emgyrz/colorsys.rs/releases/tag/v0.8.0)
- **Behavior changed** `Rgb.grayscale`  

With Luminance, Rec709 and Rec2100, grayscale now sets all channels to the weighted luma instead of scaling each channel separately, so output colors change. [github.com](https://github.com/emgyrz/colorsys.rs/releases/tag/v0.8.0)
- **Behavior changed** `set_alpha`  

Alpha is now clamped to the range 0.0 to 1.0 in set_alpha, Rgb::new, Hsl::new and parsing. Code that relied on out-of-range alpha values must be updated. [github.com](https://github.com/emgyrz/colorsys.rs/releases/tag/v0.8.0)
- **Behavior changed** `set_hue`  

Hue values now wrap around, so set_hue(-10.0) gives 350.0 rather than a clamped value. Code relying on clamping must be updated. [github.com](https://github.com/emgyrz/colorsys.rs/releases/tag/v0.8.0)
- **Configuration changed**  

The package now requires Rust 1.88 or later, as set by rust-version in Cargo.toml. Older toolchains will not build it. [github.com](https://github.com/emgyrz/colorsys.rs/releases/tag/v0.8.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
