Bug 488313 - Text Highlighting: Improved Color Palette
Summary: Text Highlighting: Improved Color Palette
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 23.08.5
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-10 17:31 UTC by Leonard Mada
Modified: 2024-06-12 15:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonard Mada 2024-06-10 17:31:41 UTC
SUMMARY
The color palette used for text highlighting could be improved. Use less saturated colors for text highlighting.

STEPS TO REPRODUCE
1. Open pdf (text on white background), e.g. scientific articles
2. Highlight some words

OBSERVED RESULT
Default color palette is too strong.


EXPECTED RESULT
Default color palette for highlighting should be less saturated:
- use colors where min(R,G,B) >= 0.4 to 0.5, where each (R,G,B) channel is between 0 and 1;
- e.g. a pale green (#7df066): min(R,G,B) = 102/255 = 0.4 (Note: min/max is even slightly higher);

As opposed to this, the color palette for text-annotations should have strong colours with min(R,G,B) <= 0.4 (or 0.5).


SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
Okular should offer a "weaker" (less saturated) color pakette for highlighting text in pdf documents (e.g. scientific articles).

Other useful features would be to export and import the custom colors (which I use as the main palette for highlighting). However, selecting a custom color involves a few more clicks: it would be preferable to have a different default palette when highlighting text.
Comment 1 Albert Astals Cid 2024-06-12 15:30:49 UTC
You can change the defaults if you don-t like the defaults