jathu/UIImageColors
Fetches the most dominant and prominent colors from an image. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4093
- days_rel: n/a
- days_push: 1723
- n_releases_24m: 0
Adoption not part of the score
3275 stars · 248 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Swift library that extracts the most dominant and prominent colors from UIImage and NSImage instances, in the style of iTunes artwork coloring. It returns a struct with background, primary, secondary, and detail colors, with configurable quality/performance tradeoffs.
Use cases
- extract dominant colors from an image in swift
- dynamically theme ui background based on album artwork
- get primary and secondary colors from a photo like itunes
- generate background color matching an image in ios
- derive text colors that complement an image
- color analysis for uiimage on macos
When to choose
- you need iTunes-style dynamic color theming for iOS, tvOS, or macOS apps
- you want a small, drop-in Swift file or CocoaPods/Carthage dependency
- you need a simple API with quality/performance tuning
When to avoid
- you need cross-platform color extraction outside Apple platforms
- you need actively maintained code with recent updates
- you need advanced palette generation with many color clusters
Facets
library · maturity maintenance
image-processing ui-components image-processing mobile-development desktop-applications uikit color-extraction dominant-colors cocoapods carthage tvos ios macos swift
1 source
- readme: https://github.com/jathu/UIImageColors · fetched 2026-08-28 · 621e6d702577
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jathu/UIImageColors | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="jathu/UIImageColors")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem