ass="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">color_dither</span><span class="op">(</span></span>
<span>  <span class="va">x</span>,</span>
<span>  L_diff <span class="op">=</span> <span class="fl">4</span>,</span>
<span>  L_max <span class="op">=</span> <span class="fl">90</span>,</span>
<span>  L_min <span class="op">=</span> <span class="fl">30</span>,</span>
<span>  min_contrast <span class="op">=</span> <span class="fl">1.25</span>,</span>
<span>  direction <span class="op">=<