Thanks a lot, Daniel...
 

> I answered at github, but basically those magic numbers are how you get a 
> luminance value from an RGB colour.  Interesting isn't it, green is the 
> major contributor to perceived brightness..
>
> The contrast formula is here: http://www.w3.org/TR/AERT#color-contrast
>

So, as I said on GitHub 
<https://github.com/Jermolene/TiddlyWiki5/commit/0bb8e08edca61f415aa084327b6751c278e45108#commitcomment-8667809>,
 
the algorithm appears to be fine. It's just that the current tag default 
for tw5 produces a now less satisfying effect, afaic.

Also, come to think of it, I'd really like to be able to use any text color 
I want 
<https://github.com/Jermolene/TiddlyWiki5/commit/0bb8e08edca61f415aa084327b6751c278e45108#commitcomment-8669993>,
 
or be able to override the algorithmic one, rather than have that reduced 
to either the global foreground or background color.

Best wishes, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to