<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <link href="chrome://translator/skin/floatingPanel.css"
      type="text/css" rel="stylesheet">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 2012-12-19 17:11, Oliver Tonnhofer
      wrote :<br>
    </div>
    <blockquote
      cite="mid:C2675164-705B-4D83-9998-07765C068AAA@omniscale.de"
      type="cite">
      <pre wrap="">On 18.12.2012, at 15:42, A.Pirard.Papou wrote:

A WMS source ? Can you set the bgcolor of that service?

You could also use the transparent_color option of MapProxy to make the black background transparent, and then use bgcolor on the MapProxy WMS to make it white: <a class="moz-txt-link-freetext" href="http://mapproxy.org/docs/nightly/sources.html#image">http://mapproxy.org/docs/nightly/sources.html#image</a>
But the results are not that pretty if the source image is anti-aliased.</pre>
    </blockquote>
    Thanks, Oliver.  Yes, WMS.<br>
    I finally set the transparent option of WMS requests of both
    Mapproxy and JOSM, together with a #202020 JOSM background. 
    Choosing this shade of gray is a puzzle to avoid clashing with any
    color of JOSM and of any transparent server.<br>
    Inverting the server's colors would solve the visibility problem but
    would distort the server's natural colors (yellow rivers and red
    forests).  In fact, it's not a matter of color but of intensity:
    only the least intense tones must change in intensity.<br>
    <br>
    Cheers, <br>
    <br>
    <table>
      <tbody>
        <tr>
          <td valign="top">André.</td>
        </tr>
      </tbody>
    </table>
    <br>
    <div style="bottom: auto; left: 0px; right: auto; top: 310px;"
      class="translator-theme-default" id="translator-floating-panel">
      <div title="Click to translate"
        id="translator-floating-panel-button"></div>
    </div>
  </body>
</html>