qix-/color

:rainbow: Javascript color conversion and manipulation library

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 7 minutes ago
Type:Library / SDKCategory(s):Core & Utility LibrariesLanguages & Runtimes
Added to GitGenius on September 14th, 2026
Created on June 23rd, 2011
Open Issues & Pull Requests: 21 (+0)
GitHub issues: Enabled
Number of forks: 275
Total Stargazers: 4,932 (+0)
Total Subscribers: 28 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.2 days
Mean response time: 85.7 days
90th percentile: 311.1 days
Tracked items: 13

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 5
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,818 days
Stale 30+ days: 5
Stale 90+ days: 5

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (2)
  • help wanted (1)
  • pr welcome (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

color is a JavaScript library for immutable color conversion and manipulation with support for CSS color strings.

The library solves the problem of working with colors across different color spaces and formats in JavaScript applications. It provides an immutable API where color objects maintain their state and return new instances when modified. The tool supports conversion between multiple color models including RGB, HSL, HSV, CMYK, and others, and can parse CSS color strings as input. Users can access individual channel values, convert to different representations like hex or array formats, and generate CSS-compatible string output with configurable precision.

Developers should choose this library when building applications that need flexible color manipulation without mutating state. It suits projects requiring color space conversions, accessibility calculations like WCAG luminosity and contrast ratios, or color transformations such as lightening, darkening, saturating, and rotating hue. The immutable design makes it predictable for functional programming patterns. The library's API was inspired by color-js, with manipulation functions drawing from CSS preprocessing tools like Sass, LESS, and Stylus, making it familiar to developers accustomed to those ecosystems.

The project maintains a stable codebase with infrequent but deliberate updates. Pull requests receive responses and are merged when appropriate, indicating active maintenance. Issues are acknowledged and addressed, though the pace of resolution varies. The maintainer engages with the community on feature requests and bug reports, suggesting a project that prioritizes reliability over rapid feature expansion.