cpicker.nvim

July 21, 2026 ยท View on GitHub

Run Tests GitHub License GitHub Issues or Pull Requests GitHub commit activity GitHub Release luarocks

cpicker.nvim is a lightweight color palette plugin for Neovim that supports a wide range of color models, such as HEX, RGB, HSL, HSV, CMYK, HWB, Lab, Linear RGB, XYZ, and more. Support for additional color spaces will be added in future releases.

cpicker

๐Ÿ“ฆ Installation

Using nvim-plug

require('plug').add({
    {
        'wsdjeg/cpicker.nvim',
        depends = {
            { 'wsdjeg/logger.nvim' },
            { 'wsdjeg/notify.nvim' },
        },
    },
})

Then use :Plug install cpicker.nvim to install this plugin.

Using luarocks

luarocks install cpicker.nvim

โš™๏ธ Basic Usage

All functionality is accessed through the single :Cpicker command with subcommands.

CommandDescription
:Cpicker [formats...]Open color picker
:Cpicker cursor [formats...]Open picker with cursor foreground color
:Cpicker mix color1 color2Open color mixer
:Cpicker hl [formats...]Change cursor highlight (generates colorscheme patch)
:Cpicker clearClear colorscheme patch

Examples

  1. open color palette with specific color models.
:Cpicker rgb hsl
  1. open color palette with cursor highlight.
:Cpicker cursor
  1. open color mixer:
:Cpicker mix #282828 #23EF12
  1. Change the highlight of cursor position. This command will generate colorscheme patch which will be loaded when using same colorscheme.
:Cpicker hl

Use :Cpicker clear to clear colorscheme patch.

Supported color formats

rgb, hsl, hsv, cmyk, hwb, linear, lab

๐ŸชŸ Key binding

key bindingdescription
h or <Left>reduce
l or <Right>increase
<Enter>copy

๐Ÿ’ฌ Feedback

If you encounter any bugs or have suggestions, please file an issue in the issue tracker

๐Ÿ“„ License

Licensed under GPL-3.0.