Subject: [tw] Re: [TW5] Translucent Tiddlers



Thanks Eric! I was missing the 'a' in hsla when I tried it. I prefer this way to rgb(a)
On Wednesday, August 9, 2017 at 11:08:23 PM UTC+10, Eric Shulman wrote:On Wednesday, August 9, 2017 at 5:50:34 AM UTC-7, RichardWilliamSmith wrote:I'll answer my own question :) one way is to use 'rgba', like this - rgba(52,200,52,0.2) where the last value it the alpha. Should also be able to use 'hsl' but that doesn't seem to work (?)
The values for HSL are   hue = 0 to 360  saturation = 0% to 100%  lightness = 0% to 100%
Like this:   hsl(240,50%,90%)
You can also use HSLA, which includes an "alpha channel" value between 0 and 1 to specify the opacity:
Like this:   hsla(240,50%,90%,0.5)

* tested and confirmed on tiddlywiki.com
enjoy,-eEric ShulmanTiddlyTools.com: "Small Tools for Big Ideas!" (tm)InsideTiddlyWiki: The Missing Manuals

--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
ource=footer">https://groups.google.com/d/msgid/tiddlywiki/67ab54a8-2604-4fe7-b8e1-d54c235d72c2%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.



Programming list archiving by: Enterprise Git Hosting