# vicc/chameleon

Color framework for Swift & Objective-C (Gradient colors, hexcode support, colors from images & more).

Repository: https://github.com/vicc/chameleon
Canonical: https://ross.abutalabs.com/products/chameleon
Language: Objective-C
License: NOASSERTION
License Family: other
Archived: true
Last push: 2021-05-03T07:11:02+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4421, "days_push": 1948, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 12316, forks 1281 (observed 2026-08-28T04:10:52.345646+00:00)

## What it is
Chameleon is a lightweight color framework for iOS written in Objective-C with Swift support. It provides flat color palettes, gradient generation, hex code support, color extraction from images, and automatic contrast/readability handling.

## Use cases
- generate gradient colors in an iOS app
- convert hex codes to UIColor
- pick readable text colors for any background
- extract dominant colors from an image
- use flat color palettes in Swift or Objective-C
- create color schemes for app themes

## When to choose
- building an older iOS app targeting Swift 3 / iOS 8 era toolchains
- you need a batteries-included UIColor extension library with gradients and flat palettes

## When to avoid
- starting a new modern Swift project - the library is unmaintained since 2021 and tied to Swift 3
- you need SwiftUI or cross-platform color support
- you only need simple hex conversion - a small extension suffices

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, graphics
- domain: mobile-development, web-design, cross-platform
- platform: -
- tags: color-framework, gradients, hex-colors, uikit, cocoapods, objective-c, flat-colors, ios, swift, mobile

## Member repositories
- vicc/chameleon (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:52.345646+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:14:09.952619+00:00, confidence not recorded.
  - readme: https://github.com/vicc/chameleon (fetched 2026-08-28T04:10:52.345646+00:00, sha 706c15f91a4c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
