A look at Qix-/color: 4.9k stars on GitHub, written primarily in JavaScript. :rainbow: Javascript color conversion and manipulation library
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Set the values for individual channels with alpha, red, green, blue, hue, saturationl (hsl), saturationv (hsv), lightness, whiteness, blackness, cyan, magenta, yellow, black
String constructors are handled by color-string
Getters
color.hsl()
Convert a color to a different space (hsl(), cmyk(), etc.).
color.object() // {r: 255, g: 255, b: 255}
Get a hash of the color value. Reflects the color's current model (see above).
color.rgb().array() // [255, 255, 255]
Get an array of the values with array(). Reflects the color's current model (see above).
color.rgbNumber() // 16777215 (0xffffff)
Get the rgb number value.
color.hex() // #ffffff
Get the hex value. (NOTE:.hex() does not return alpha values; use .hexa() for an RGBA representation)
color.red() // 255
Get the value for an individual channel.
CSS Strings
color.hsl().string() // 'hsl(320, 50%, 100%)'
Calling .string() with a number rounds the numbers to that decimal place. It defaults to 1.
Luminosity
color.luminosity(); // 0.412
The WCAG luminosity of the color. 0 is black, 1 is white.
color.contrast(Color("blue")) // 12
The WCAG contrast ratio to another color, from 1 (same color) to 21 (contrast b/w white and black).
color.isLight() // true
color.isDark() // false
Get whether the color is "light" or "dark", useful for deciding text color.
TopGit's last sync did not record any GitHub topics for Qix-/color. GitHub topics appear in the right sidebar of a repository page; that's the authoritative place to check.
How active is development on Qix-/color?
The most recent commit recorded on Qix-/color was 9 months ago, based on the GitHub push timestamp. The repository has 274 forks — one of the better signals of community interest.
How many stars does Qix-/color have?
Qix-/color has 4.9k GitHub stars — refresh the page for the live number, or check github.com/Qix-/color. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What language is Qix-/color written in?
Qix-/color is written primarily in JavaScript. GitHub's language field is based on the largest share of bytes in the default branch.
Where do I read more about Qix-/color?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/Qix-/color is the definitive source.
Read full README in the tab above.
Curious whether color is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about color.