brenoprata10 / nvim-highlight-colors

Highlight colors for neovim
724 stars 33 forks source link

May I ask if it supports highlighting in formats like 0xffaaaaaaa #67

Open reimu1234 opened 8 months ago

reimu1234 commented 8 months ago

A very beautiful project, thank you for your work. I found that the format 0xffaadd is acceptable when using it, but 0xaarrggbb does not work May I ask if it supports highlighting in formats like 0xffaaaaaaa thank you

brenoprata10 commented 7 months ago

What is the difference of 0xaarrggbb and 0xffaadd? Are they the same thing, but with additional configuration like opacity? I am not familiar with this color code format, so I would appreciate if you could explain it to me 😜

reimu1234 commented 7 months ago

Yes, it's just that there's more transparency, there's no other difference

bassamsdata commented 6 months ago

supporting this format would be awesome.

It's an Android color format. also used in some projects I use like sketchybar. here's a color picker for it as well.

in addition, for more info here is a simple stackoverflow answer.

As a side note, nvim-colorizor supports this format as well, so might benefit from it's integration, although I know this plugin is totally different.

at the end, I'd like to thank you for this cool plugin.

reimu1234 commented 6 months ago

supporting this format would be awesome.

It's an Android color format. also used in some projects I use like sketchybar. here's a color picker for it as well.

in addition, for more info here is a simple stackoverflow answer.

As a side note, nvim-colorizor supports this format as well, so might benefit from it's integration, although I know this plugin is totally different.

at the end, I'd like to thank you for this cool plugin.

but nvim-colorizor it seems that the format 0xrrggbb is not supported

bassamsdata commented 6 months ago

but nvim-colorizor it seems that the format 0xrrggbb is not supported

True, but this plugin does support it. I think the issue is with the format 0xAARRGGBB, isn't it?

reimu1234 commented 6 months ago

but nvim-colorizor it seems that the format 0xrrggbb is not supported

True, but this plugin does support it. I think the issue is with the format 0xAARRGGBB, isn't it?

yes

RolfSievert commented 4 months ago

Just a suggestion; could also make it possible to add custom formats. What I mean is that in the config you could add:

custom_formats = {
    '0xAARRGGBB',
    '0xRRGGBBAA',
    -- etc
}

, where A, R, G, and B are reserved characters for matching color channels.

nickvonkaenel commented 2 months ago

Loving the plugin, I would appreciate support for 0xRRGGBBAA as well.