<p><b>@b4n</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/1382">data/geany.gtkrc</a>:</p>
<pre style='color:#555'>> @@ -56,8 +56,8 @@ style "geany-compiler-error-style" {
     fg[ACTIVE] = "#ffff00000000"
 }
 style "geany-compiler-context-style" {
-    fg[NORMAL] = "#888800000000"
-    fg[ACTIVE] = "#888800000000"
+    fg[NORMAL] = "#7f7f00000000"
+    fg[ACTIVE] = "#7f7f00000000"
</pre>
<blockquote>
<p>I just went in python and did <code>hex(int((0x7f/255.0)*65535))</code> to scale from 8-bit to 16-bit.</p>
</blockquote>
<p>Hence the precision loss :)</p>
<div class="highlight highlight-text-python-console"><pre>>>> <span class="pl-c1">hex</span>(<span class="pl-c1">int</span>(<span class="pl-c1"><span class="pl-k">0x</span>ff</span><span class="pl-k">/</span><span class="pl-c1">2</span>))
'0x7f'
>>> <span class="pl-c1">hex</span>(<span class="pl-c1">int</span>(<span class="pl-c1"><span class="pl-k">0x</span>ffff</span><span class="pl-k">/</span><span class="pl-c1">2</span>))
'0x7fff'
>>> <span class="pl-c1">hex</span>(<span class="pl-c1">int</span>(<span class="pl-c1">int</span>(<span class="pl-c1"><span class="pl-k">0x</span>7fff</span><span class="pl-k">*</span><span class="pl-c1"><span class="pl-k">0x</span>ff</span><span class="pl-k">/</span><span class="pl-c1"><span class="pl-k">0x</span>ffff</span>)<span class="pl-k">/</span><span class="pl-c1"><span class="pl-k">0x</span>ff</span><span class="pl-k">*</span><span class="pl-c1"><span class="pl-k">0x</span>ffff</span>))
'0x7f7f'</pre></div>
<blockquote>
<p>Would be better to use 8-bit HTML-style notation, if supported.</p>
</blockquote>
<p>I think it is supported, just use <code>"#7f0000"</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1382">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJy_c8rVcJ0rX1V5GVMM6fi1f-qhhks5rXeMIgaJpZM4Lwb0d">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJzyfPuzDg6r5q7uCMI17lskznsV_ks5rXeMIgaJpZM4Lwb0d.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1382"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@b4n commented on #1382"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/1382"}}}</script>