# ap/vim-css-color

Preview colours in source code while editing

Repository: https://github.com/ap/vim-css-color
Canonical: https://ross.abutalabs.com/products/vim-css-color
Homepage: http://www.vim.org/scripts/script.php?script_id=5056
Language: Vim Script
License: MIT
License Family: permissive
Topics: vim-script
Last push: 2024-12-31T12:33:06+00:00

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

## Adoption (not part of the score)
Stars 1825, forks 81 (observed 2026-08-28T04:05:41.267453+00:00)

## What it is
A Vim plugin that highlights CSS color names, hex codes, and rgb()/rgba()/hsl() values inline so users can preview colors while editing. It is context-sensitive and supports many syntaxes including CSS, Less, Sass, JavaScript, Python, VimL, and various config file formats.

## Use cases
- preview css colors in vim while editing
- highlight hex color codes in source code
- see color swatches for rgb and hsl values in vim
- color highlighting for sass and less files in vim
- show inline color previews in javascript or python files
- fast color name highlighter for vim and neovim

## When to choose
- you edit CSS, Sass, Less, or config files with color values in Vim or NeoVim
- you want fast, context-sensitive inline color previews without leaving the editor
- you work in 256-color terminals and need accurate color rendering

## When to avoid
- you use VS Code or another editor with built-in color preview extensions
- you need a standalone color picker or design tool rather than editor highlighting
- you don't use Vim-family editors

## Facets
- artifact type: plugin
- maturity: stable
- function: editor, ui-components, developer-tools
- domain: text-editors, web-development, frontend, developer-tools
- platform: editor-plugin, cli, cross-platform
- tags: vim-plugin, css-colors, syntax-highlighting, color-preview, neovim

## Member repositories
- ap/vim-css-color (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:41.267453+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-30T03:19:40.817365+00:00, confidence not recorded.
  - readme: https://github.com/ap/vim-css-color (fetched 2026-08-28T04:05:41.267453+00:00, sha 4d1e475e257e)
  - homepage: http://www.vim.org/scripts/script.php?script_id=5056 (fetched 2026-08-29T10:58:33.299595+00:00, sha 1f8fe6334dca)
  - site_page: https://www.vim.org/about.php (fetched 2026-08-29T10:58:33.309271+00:00, sha 1bd2c1907ce5)
  - site_page: https://www.vim.org/docs.php (fetched 2026-08-29T10:58:33.311194+00:00, sha 438015e9e2e2)
  - site_page: http://www.vim.org/about.php (fetched 2026-08-29T10:58:33.313169+00:00, sha fbe78bde9535)
- Data as of 2026-08-30T08:39:29.467469+00:00.
