Am Fri, Mar 08, 2019 at 03:43:20PM +0000 schrieb Ursula Hermann: > Dear List! > > I have the following example: > > \defineframedtext > [prettyblock] > [width=10cm, > indenting={yes, small}, > background=color, backgroundcolor=lightgreen, > foreground=color, foregroundcolor=black , > offset=2mm, > align=flushleft] > > My problem is now: > how can I write, if I have an Rgb Color and I do not know the name. I have > looked at the list, but cannot find the color. > Can I say: background=color, backgroundcolor=rgb and put the numbers in (lets > say: r=200, g=112, b=300)? > Is that correct, or do I have to take a special way? Or do I have to define > it?
I would define a color and use it: \definecolor [myblue] [r=0.000, g=0.314, b=0.580] You can use the color anywhere with "color=myblue". juh -- Autoren-Homepage: ......... http://literatur.hasecke.com Satiren & Essays: ......... http://www.sudelbuch.de Privater Blog: ............ http://www.hasecke.eu Netzliteratur-Projekt: .... http://www.generationenprojekt.de ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________