Bug 488313

Summary: Text Highlighting: Improved Color Palette
Product: [Applications] okular Reporter: Leonard Mada <leo.mada>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aacid
Priority: NOR    
Version First Reported In: 23.08.5   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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