uga-rosa/ccc.nvim

github github
color
stars 676
issues 4
subscribers 5
forks 10
CREATED

2022-09-13

UPDATED

19 days ago


ccc.nvim

Create Color Code in neovim.

Use the colorful sliders to easily generate any desired color!

  • Features

    • No dependency.
    • Dynamic highlighting of sliders.
    • Supports more than 10 color spaces (RGB, HSL, CMYK, etc.).
    • Seamless input/output mode change.
    • Restore previously used colors.
    • Transparent slider for css functions (e.g. rgb(), hsl())
    • Color Highlighter for many formats.
    • Programmable modules (input/output/picker)
  • Requirements

    • neovim 0.9.0+

See doc for details.

GIF

Seamless mode change

cccpick

Restore previously used colors

restore

Highlight pickable colors

  • LSP textDocument/documentColor is supported (Requires neovim built-in LSP client).

image

  • Many color formats conforming to CSS Color Module level4 can be highlighted without LSP.

image

There are some special picker to highlight. Descriptions are in the doc. If you would like to see images, please visit the wiki.

Use multiple color spaces simultaneously

  • Advanced settings
  • See wiki

multi