---
title: "color 2.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each color release removed, renamed or changed: 25 breaking changes in 1 version on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/color
last_updated: 2026-12-04
---

# color breaking changes

color 2.0.0 (July 5, 2025) is its newest release with breaking changes, 25 of them. The first: Removed Color:CSS.\[\]. Every breaking API change we have recorded in color on RubyGems: 25 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.2.0`. [Source repository](https://github.com/halostatue/color)

Its 2.0.0 release requires [Ruby 3.2](https://since.dev/calendar/ruby/3.2.md) or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

## color 2.0.0 breaking changes

color 2.0.0, released July 5, 2025: 25 breaking changes.

- **Removed** `Color:CSS.[]`  

Color:CSS\[\] and its containing namespace were removed; it was a wrapper around Color::RGB.by_name. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.CMYK.pdf_fill`  

The pdf_fill and pdf_stroke methods were removed from the color classes. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.CMYK.pdf_stroke`  

The pdf_fill and pdf_stroke methods were removed from the color classes. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.COLOR_TOOLS_VERSION`  

Use Color::VERSION instead. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.COLOR_VERSION`  

Use Color::VERSION instead. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.Grayscale.pdf_fill`  

The pdf_fill and pdf_stroke methods were removed from the color classes. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.Grayscale.pdf_stroke`  

The pdf_fill and pdf_stroke methods were removed from the color classes. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.GreyScale`  

The GreyScale alias was removed; use Color::Grayscale. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.new`  

The pseudo-constructor Color.new has been removed. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.Palette.AdobeColor`  

Palette classes were removed; users may extract them from Color 1.8 and adapt them. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.Palette.Gimp`  

Palette classes were removed; users may extract them from Color 1.8 and adapt them. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.Palette.MonoContrast`  

Palette classes were removed; users may extract them from Color 1.8 and adapt them. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.RGB.BeccaPurple`  

BeccaPurple was removed as an alias; use Color::RGB::RebeccaPurple. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.RGB.pdf_fill`  

The pdf_fill and pdf_stroke methods were removed from the color classes. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Color.RGB.pdf_stroke`  

The pdf_fill and pdf_stroke methods were removed from the color classes. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `css_hsl`  

Use #css instead; its output uses modern CSS color formats rather than legacy ones. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `css_hsla`  

Use #css instead; its output uses modern CSS color formats rather than legacy ones. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `css_rgba`  

Use #css instead; its output uses modern CSS color formats rather than legacy ones. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Removed** `html`  

The html method was removed from all color classes except Color::RGB. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Renamed** `Color.GrayScale`  

Color::GrayScale is now Color::Grayscale; the GreyScale alias was removed. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

Color class constructors no longer yield the constructed color if a block is passed. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

Color classes are implemented as immutable Data objects, which restricts running on JRuby versions before 10. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `Color.RGB.by_hex`  

Named colors must be loaded by requiring color/rgb/colors; extract_colors, by_hex, by_name and by_css load it automatically. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Configuration changed**  

Color 2.0 requires Ruby 3.2 or later; older Ruby versions are no longer supported. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)
- **Signature changed** `css_rgb`  

Use #css instead; its output uses modern CSS color formats rather than legacy ones. [github.com](https://github.com/halostatue/color/blob/v2.0.0/CHANGELOG.md)

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