fix and simplify color handling; lose superfluous pragmas.
simple example for html stuff.