# omgovich/react-colorful

🎨 A tiny (2,8 KB) color picker component for React and Preact apps

Repository: https://github.com/omgovich/react-colorful
Canonical: https://ross.abutalabs.com/products/react-colorful
Homepage: https://omgovich.github.io/react-colorful
Language: TypeScript
License: MIT
License Family: permissive
Topics: color-picker, color, tiny, react, react-component, hooks, picker, a11y, zero-dependency, typescript-support, preact, hex, hacktoberfest
Last push: 2026-07-13T17:52:27+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 81, longevity 100
- inputs: {"age_days": 2232, "days_push": 51, "days_rel": 51, "gap_med": 33.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3552, forks 123 (observed 2026-08-28T04:08:09.595339+00:00)

## What it is
react-colorful is a tiny (~3 KB gzipped) color picker component for React and Preact applications. It is dependency-free, tree-shakeable, written in strict TypeScript, and follows WAI-ARIA accessibility guidelines.

## Use cases
- add a color picker to a React form
- let users pick hex or rgba colors in a design tool
- replace react-color with a much smaller bundle
- build an accessible color selection UI with keyboard and screen reader support
- add a mobile-friendly touch color picker to a Preact app
- customize a color picker's appearance with CSS

## When to choose
- you need a lightweight, zero-dependency color picker for React or Preact
- bundle size and performance matter
- you need accessibility (WAI-ARIA) and mobile/touch support out of the box
- you want TypeScript types included

## When to avoid
- you need a non-React framework like Vue or Angular
- you need advanced features like Photoshop-style pickers or palette management offered by larger libraries
- your project is not component-based frontend web development

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, frontend-framework
- domain: web-development, frontend, web-design
- platform: cross-platform
- tags: color-picker, react, preact, zero-dependency, accessibility, typescript, hooks, tiny-bundle, web-server

## Member repositories
- omgovich/react-colorful (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:09.595339+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-29T18:34:19.631321+00:00, confidence not recorded.
  - readme: https://github.com/omgovich/react-colorful (fetched 2026-08-28T04:08:09.595339+00:00, sha 93feb934c6a5)
  - homepage: https://omgovich.github.io/react-colorful (fetched 2026-08-29T09:28:30.160769+00:00, sha 6875cc52aebe)
  - registry_npm: https://registry.npmjs.org/react-colorful (fetched 2026-08-29T09:28:30.169624+00:00, sha dcb00b007f95)
- Data as of 2026-08-30T08:39:29.467469+00:00.
