{"adoption": {"forks": 1313, "observed_at": "2026-08-28T04:11:03.659467+00:00", "stars": 13615}, "canonical_url": "https://ross.abutalabs.com/products/color-thief", "card": {"archived": false, "artifact_type": "library", "description": "Grab the color palette from an image using just Javascript.  Works in the browser and in Node.", "domain": ["image-processing", "frontend", "web-development", "graphics"], "enriched": true, "function": ["image-processing", "data-visualization"], "health_score": 97, "homepage": "https://lokeshdhakar.com/projects/color-thief/", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["lokesh/color-thief"], "name": "lokesh/color-thief", "platform": ["browser", "cli", "cross-platform"], "pushed_at": "2026-08-03T06:06:03+00:00", "repo": "lokesh/color-thief", "stars": 13615, "tags": ["color-palette", "color-extraction", "typescript", "oklch", "dominant-color", "zero-dependencies", "wcag-contrast", "nodejs"], "topics": [], "urls": [], "use_cases": ["extract dominant color from an image in javascript", "generate a color palette from a photo", "get vibrant and muted swatches from an image", "dynamically theme a page based on an image's colors", "extract palettes from video frames reactively", "check text contrast against an image's dominant color", "get a color palette from an image in node.js"], "what_it_is": "Color Thief is a TypeScript library that extracts dominant colors and palettes from images and video in the browser and Node.js, with a small CLI included. It offers perceptual OKLCH quantization, semantic swatches, WCAG contrast helpers, and reactive palette updates via an observe() API.", "when_to_avoid": ["you need full image editing or manipulation, not just color extraction", "you work outside JavaScript/TypeScript ecosystems", "you need server-side processing of very large image batches where a native tool would be faster"], "when_to_choose": ["you need dominant colors or palettes from images in browser or Node with zero dependencies", "you want perceptually uniform palettes (OKLCH) or semantic swatches like Vibrant/Muted", "you need WCAG contrast ratios and text color recommendations from extracted colors", "you want live palette updates from video or canvas elements"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/color-thief", "repo": "lokesh/color-thief", "role": "main", "score": 96}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:11:03.659467+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.506046+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2d82fa56ef6db4e0e4ee13212511e3bb29d196cc37c9e84e27e8cf1e773dd89", "fetched_at": "2026-08-28T04:11:03.659467+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lokesh/color-thief"}, {"content_hash": "161f16c3ce014a3d3c1b33230edb91cab862e146cc49b4376f37f2a5107b99b5", "fetched_at": "2026-08-29T08:08:06.372316+00:00", "kind": "homepage", "missing": false, "url": "https://lokeshdhakar.com/projects/color-thief/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:11:03.659467+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.506046+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2d82fa56ef6db4e0e4ee13212511e3bb29d196cc37c9e84e27e8cf1e773dd89", "fetched_at": "2026-08-28T04:11:03.659467+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lokesh/color-thief"}, {"content_hash": "161f16c3ce014a3d3c1b33230edb91cab862e146cc49b4376f37f2a5107b99b5", "fetched_at": "2026-08-29T08:08:06.372316+00:00", "kind": "homepage", "missing": false, "url": "https://lokeshdhakar.com/projects/color-thief/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.506046+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2d82fa56ef6db4e0e4ee13212511e3bb29d196cc37c9e84e27e8cf1e773dd89", "fetched_at": "2026-08-28T04:11:03.659467+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lokesh/color-thief"}, {"content_hash": "161f16c3ce014a3d3c1b33230edb91cab862e146cc49b4376f37f2a5107b99b5", "fetched_at": "2026-08-29T08:08:06.372316+00:00", "kind": "homepage", "missing": false, "url": "https://lokeshdhakar.com/projects/color-thief/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:11:03.659467+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:11:03.659467+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:11:03.659467+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.506046+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2d82fa56ef6db4e0e4ee13212511e3bb29d196cc37c9e84e27e8cf1e773dd89", "fetched_at": "2026-08-28T04:11:03.659467+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lokesh/color-thief"}, {"content_hash": "161f16c3ce014a3d3c1b33230edb91cab862e146cc49b4376f37f2a5107b99b5", "fetched_at": "2026-08-29T08:08:06.372316+00:00", "kind": "homepage", "missing": false, "url": "https://lokeshdhakar.com/projects/color-thief/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:11:03.659467+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:11:03.659467+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.506046+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2d82fa56ef6db4e0e4ee13212511e3bb29d196cc37c9e84e27e8cf1e773dd89", "fetched_at": "2026-08-28T04:11:03.659467+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lokesh/color-thief"}, {"content_hash": "161f16c3ce014a3d3c1b33230edb91cab862e146cc49b4376f37f2a5107b99b5", "fetched_at": "2026-08-29T08:08:06.372316+00:00", "kind": "homepage", "missing": false, "url": "https://lokeshdhakar.com/projects/color-thief/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:11:03.659467+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:11:03.659467+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:11:03.659467+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.506046+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2d82fa56ef6db4e0e4ee13212511e3bb29d196cc37c9e84e27e8cf1e773dd89", "fetched_at": "2026-08-28T04:11:03.659467+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lokesh/color-thief"}, {"content_hash": "161f16c3ce014a3d3c1b33230edb91cab862e146cc49b4376f37f2a5107b99b5", "fetched_at": "2026-08-29T08:08:06.372316+00:00", "kind": "homepage", "missing": false, "url": "https://lokeshdhakar.com/projects/color-thief/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:11:03.659467+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:11:03.659467+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.506046+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2d82fa56ef6db4e0e4ee13212511e3bb29d196cc37c9e84e27e8cf1e773dd89", "fetched_at": "2026-08-28T04:11:03.659467+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lokesh/color-thief"}, {"content_hash": "161f16c3ce014a3d3c1b33230edb91cab862e146cc49b4376f37f2a5107b99b5", "fetched_at": "2026-08-29T08:08:06.372316+00:00", "kind": "homepage", "missing": false, "url": "https://lokeshdhakar.com/projects/color-thief/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.506046+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2d82fa56ef6db4e0e4ee13212511e3bb29d196cc37c9e84e27e8cf1e773dd89", "fetched_at": "2026-08-28T04:11:03.659467+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lokesh/color-thief"}, {"content_hash": "161f16c3ce014a3d3c1b33230edb91cab862e146cc49b4376f37f2a5107b99b5", "fetched_at": "2026-08-29T08:08:06.372316+00:00", "kind": "homepage", "missing": false, "url": "https://lokeshdhakar.com/projects/color-thief/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.506046+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2d82fa56ef6db4e0e4ee13212511e3bb29d196cc37c9e84e27e8cf1e773dd89", "fetched_at": "2026-08-28T04:11:03.659467+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lokesh/color-thief"}, {"content_hash": "161f16c3ce014a3d3c1b33230edb91cab862e146cc49b4376f37f2a5107b99b5", "fetched_at": "2026-08-29T08:08:06.372316+00:00", "kind": "homepage", "missing": false, "url": "https://lokeshdhakar.com/projects/color-thief/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.506046+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b2d82fa56ef6db4e0e4ee13212511e3bb29d196cc37c9e84e27e8cf1e773dd89", "fetched_at": "2026-08-28T04:11:03.659467+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lokesh/color-thief"}, {"content_hash": "161f16c3ce014a3d3c1b33230edb91cab862e146cc49b4376f37f2a5107b99b5", "fetched_at": "2026-08-29T08:08:06.372316+00:00", "kind": "homepage", "missing": false, "url": "https://lokeshdhakar.com/projects/color-thief/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 95, "longevity": 100, "rhythm": 96}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5419, "days_push": 30, "days_rel": 31, "gap_med": 0, "n_releases_24m": 12}, "score": 96, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}