nvim-highlight-colors
nvim-highlight-colors copied to clipboard
Support for color() function and newer color formats like lab/lch an oklab/oklch
I'm sure it would be considerable work but it would be great to eventually see the newer color formats supported in this plugin.
Examples:
P3
.p3 {
--bg: color(display-p3 0 1 0);
background-color: var(--bg);
}
LCH
.lch-lightness {
background: linear-gradient(
to right,
lch(50% 300 45) 50%,
lch(50% 300 0) 0
);
}
OKLCH
.oklch {
background-color: oklch(67.22% 0.327 329.65);
}