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
On this page
Latest version 2.2.0. Source repository
Its 2.0.0 release requires Ruby 3.2 or later. Ruby end of life dates.
color 2.0.0 breaking changes
- Removed
Color:CSS.[]
Color:CSS[] and its containing namespace were removed; it was a wrapper around Color::RGB.by_name. github.com - Removed
Color.CMYK.pdf_fill
The pdf_fill and pdf_stroke methods were removed from the color classes. github.com - Removed
Color.CMYK.pdf_stroke
The pdf_fill and pdf_stroke methods were removed from the color classes. github.com - Removed
Color.COLOR_TOOLS_VERSION
Use Color::VERSION instead. github.com - Removed
Color.COLOR_VERSION
Use Color::VERSION instead. github.com - Removed
Color.Grayscale.pdf_fill
The pdf_fill and pdf_stroke methods were removed from the color classes. github.com - Removed
Color.Grayscale.pdf_stroke
The pdf_fill and pdf_stroke methods were removed from the color classes. github.com - Removed
Color.GreyScale
The GreyScale alias was removed; use Color::Grayscale. github.com - Removed
Color.new
The pseudo-constructor Color.new has been removed. github.com - Removed
Color.Palette.AdobeColor
Palette classes were removed; users may extract them from Color 1.8 and adapt them. github.com - Removed
Color.Palette.Gimp
Palette classes were removed; users may extract them from Color 1.8 and adapt them. github.com - Removed
Color.Palette.MonoContrast
Palette classes were removed; users may extract them from Color 1.8 and adapt them. github.com - Removed
Color.RGB.BeccaPurple
BeccaPurple was removed as an alias; use Color::RGB::RebeccaPurple. github.com - Removed
Color.RGB.pdf_fill
The pdf_fill and pdf_stroke methods were removed from the color classes. github.com - Removed
Color.RGB.pdf_stroke
The pdf_fill and pdf_stroke methods were removed from the color classes. github.com - Removed
css_hsl
Use #css instead; its output uses modern CSS color formats rather than legacy ones. github.com - Removed
css_hsla
Use #css instead; its output uses modern CSS color formats rather than legacy ones. github.com - Removed
css_rgba
Use #css instead; its output uses modern CSS color formats rather than legacy ones. github.com - Removed
html
The html method was removed from all color classes except Color::RGB. github.com - Renamed
Color.GrayScale
Color::GrayScale is now Color::Grayscale; the GreyScale alias was removed. github.com - Behavior changed
Color class constructors no longer yield the constructed color if a block is passed. github.com - Behavior changed
Color classes are implemented as immutable Data objects, which restricts running on JRuby versions before 10. github.com - 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 - Configuration changed
Color 2.0 requires Ruby 3.2 or later; older Ruby versions are no longer supported. github.com - Signature changed
css_rgb
Use #css instead; its output uses modern CSS color formats rather than legacy ones. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.