Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: use rgb color ranges for the color key instead of hex values #8

Closed
chrisgrieser opened this issue Apr 9, 2022 · 3 comments
Closed

Comments

@chrisgrieser
Copy link

Reference: https://discord.com/channels/686053708261228577/928964558721265694/962281335135821864

Having, say, a dozen possible values instead of the 256^3 values of hex would make it much easier to build some stuff around highlight color automation.

@argenos
Copy link

argenos commented Apr 9, 2022

Optionally: settings to define which colours to recognize/use which can also be something customised on most PDF viewers.

@mgmeyers
Copy link
Owner

mgmeyers commented Apr 9, 2022

Annotations now have a colorCategory property that's one of:

Black
White
Gray
Red
Orange
Yellow
Green
Cyan
Blue
Purple
Magenta

It uses the same approach as zotfile. Does this work for your use case?

@chrisgrieser
Copy link
Author

yeah, I think that should work. 🚀

@mgmeyers mgmeyers closed this as completed Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants