{{todo|Add more examples of usage of textbackgrounds.}}
== Basics == Pages, paragraphs, words can have a background color or frame[[Overlays|overlay]]. ConTeXt creates these using [[MetaPost]]. But a usual frame is only one object, its contents can’t flow over to the next page. You can use {{cmd|definetextbackground}} to define a named text background. The environment is based on {{cmd|framed}} and understands its parameters, but can contain several paragraphs and page breaks. The `location` parameter changes the behaviour between `text` (highlighting running text) and `paragraph` (boxed paragraphs).
(See, eventually, the [[manual:details.pdf| details]] manual or the {{src|anch-bck.mkvi|source}} for further explanations.)
'''Beware''': The examples using {{cmd|startnarrower}} may be misleading – of course you can use {{cmd|startbackground}} without the `narrower` environment; it behaves differently without `\starttext ... \stoptext`.