norcalli / nvim-colorizer.lua

The fastest Neovim colorizer.
Other
2.25k stars 117 forks source link

Bug: alpha values in hexadecimal notation #43

Closed toastal closed 4 years ago

toastal commented 4 years ago

Describe the bug CSS4+ specifically will support alpha values in hex format now as well. Where both #ff000077 and #f007 would display a red at around 46.7% opacity.

To Reproduce Try using #ff000077 and #f007

Expected behavior As the background can be trickier to get that one would expect (background none) and readability would suffer with opacity, I would expect to see the RGB values with 100% alpha.

Screenshots If applicable, add screenshots to help explain your problem.

Operating System: Currently Nix in Arch

Neovim Version: 0.4.4

toastal commented 4 years ago

Nevermind... it was just off by default