Text Colors RGB to floats #2607
pjaol
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please mark as discussion and close, just providing it for anyone else who needs it
Might be useful to add to documentation as well
If you keep getting the following exception:
PyMuPDF uses float based RGB where (R/255, G/255, B/255)
This is a quick method to take hex color codes and convert them to rgb then float rgb
Beta Was this translation helpful? Give feedback.
All reactions