Re: Custom highlight color outside the 16-set cterm palette?

Christian Brabandt <[email protected]>
Newsgroups gmane.editors.vim
Message-ID <Z//rK5wkj1wbdz/[email protected]>
On Wed, 16 Apr 2025, Steven H. wrote:

> On Wed, 16 Apr 2025 09:10:05 +0000 dvalin via vim_use wrote:
> > There's 754 colours in my /etc/X11/rgb.txt, but 782 in
> > /usr/share/vim/vim81/rgb.txt , maybe more in a more current version.

That is outdated

> 
> Here:
> 
> find /usr/share/vim/ -name 'rgb.txt'
> 
> shows me nothing.

rgb.txt has been removed with patch v8.2.376 once the colors list became 
available with patch v8.2.3562

I would check the v:colornames dictionary, see :h v:colornames.

If you have a recent terminal, chances are you can use rgb color names 
directly by :set termguicolors and then setting the guifg/guibg color 
names directly. See :h xterm-true-color

Best,
Christian
-- 
Laugh at your problems; everybody else does.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_use/Z//rK5wkj1wbdz/P%40256bit.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.