ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* My own backgroundcolor in a frame
@ 2019-03-08 15:43 Ursula Hermann
  2019-03-08 16:20 ` juh
  0 siblings, 1 reply; 2+ messages in thread
From: Ursula Hermann @ 2019-03-08 15:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 639 bytes --]

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?

Many thanks and regards

Uschi Hermann

[-- Attachment #1.2: Type: text/html, Size: 3200 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-08 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-08 15:43 My own backgroundcolor in a frame Ursula Hermann
2019-03-08 16:20 ` juh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).