color Changelog

2.2.0 / 2026-01-DD

“‘ruby simple_black = Color.from_values(r: 0, g: 0, b: 0) stuart_black = Color.from_values(r: 0, g: 0, b: 0, names: [“semple-black-4.0”])

simple_black.name # => nil stuart_black.name # => “semple-black-4.0”

require ‘color/rgb/colors’

simple_black.name # => “black” stuart_black.name # => “semple-black-4.0” “‘

This was suggested by @akicho8 in #89.

2.1.2 / 2025-12-30

This also affected conversion from CIELAB to RGB, CMYK, HSL, YIQ, and grayscale, which convert from CIELAB to XYZ as an intermediate step.

Reported by @alexwlchan in #95 and fixed in #96.

This also affected conversion from XYZ to CMYK, HSL, and YIK, and from CIELAB to RGB, HSL, YIQ, and Grayscale – all of which convert from XYZ to RGB as an intermediate step.

Reported by @alexwlchan in #92 and fixed in #93.

2.1.1 / 2025-08-08

Color 2.1.1 fixes a bug where Color::RGB::Black and Color::RGB::White are no longer defined automatically because they are part of color/rgb/colors. Internally, this defines Color::RGB::Black000 and Color::RGB::WhiteFFF.

2.1.0 / 2025-07-20

Color 2.1.0 fixes a computation bug where CIE XYZ values were improperly clamped and adds more Color::XYZ white points for standard illuminants.

The resulting Color::LAB values are not exactly the same values under Color 1.8, but they are within fractional differences deemed acceptable.

2.0.1 / 2025-07-05

Color 2.0.1 is a minor documentation update.

2.0.0 / 2025-07-05

Color 2.0.0 is a major release of the Color library.

💣 Breaking Changes

Color 2.0 contains breaking changes. Functionality previously deprecated has been removed, but other functionality has been changed or removed as part of this release without prior warning.

🚀 New Features

Internal

Governance

Color 2.0 and later requires that all contributions be signed-off attesting that the developer created the change and has the appropriate permissions or ownership to contribute it to this project under the licence terms.

1.8 / 2015-10-26

1.7.1 / 2014-06-12

1.7 / 2014-06-12

1.6 / 2014-05-19

1.5.1 / 2014-01-28

1.4.2 / 2013-06-30

1.4.1 / 2010-02-03

1.4.0 / 2007-02-11

Color 0.1.0 / 2006-08-05

color-tools 1.3.0

color-tools 1.2.0

color-tools 1.1.0

color-tools 1.0.0