vim-css-color icon indicating copy to clipboard operation
vim-css-color copied to clipboard

Wrong colors

Open emmanuelclement opened this issue 3 years ago • 2 comments

Hello,

Some colors (I can't say wich ones) aren't correctly restituted. For example #43497d (purple) is colored #005faf (blue).

It happens regularly but I can't say which colors are concerned. Sometimes the color is almost the good one, but not exactly.

vim-css-color is the only coloring extension I have on Vim.

emmanuelclement avatar Mar 10 '22 11:03 emmanuelclement

Hey, this version of the plugin hasn’t had any maintenance in a decade. You could try with my version. You didn’t specify whether you mean the accuracy of the colour approximation on 256-color terminals or a more egregious bug, but the former would be an area I’ve specifically worked on (ap/vim-css-color@8bc0a26cb7839c180e27fc9166c2a3265927feff) and the latter is something I’d definitely want to fix.

ap avatar Mar 11 '22 04:03 ap

@ap thanx for answering. It's not on a 256-color terminal. Even in the screenshot of your version of vim-css-color, the colors are a bit wrong, if you edit the image on Gimp and pick each color (https://raw.githubusercontent.com/ap/vim-css-color/5377c65022ee6d660b898bad954aeea73fa613b8/screenshot.png). It's probably the case you want to fix I presume.

emmanuelclement avatar Apr 12 '22 11:04 emmanuelclement