<div dir="ltr">Hi,<div><br></div><div>0.5white doesn't work in CMYK properly (it's equivalent to 0.5*(0,0,0,0) = (0,0,0,0) = white)<br><div>0.1black doesn't work in RGB (it's 0.1*(0,0,0) = (0,0,0) = black)</div></div><div><br></div><div>So your formula produces 50% gray in RGB and 10% gray in CMYK. No idea why you got 10% gray in some RGB setups, some test data would be needed.</div><div><br></div><div>To get 10% grey colour you need to use 0.1<span class="gmail-x gmail-x-first gmail-x-last">[w</span>hite,black<span class="gmail-x gmail-x-first gmail-x-last">] which works in all RGB, CMYK and Grayscale.</span></div><div><br></div><div>Cheers</div><div>Martin </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 10, 2021 at 11:29 AM Bruce Mutton <<a href="mailto:bruce@tomo.co.nz">bruce@tomo.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-NZ" style="overflow-wrap: break-word;"><div class="gmail-m_-7186397347626896250WordSection1"><p class="MsoNormal">Curious<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I have in my layout some metapost code to redefine the plan gridlines, used without apparent problem for perhaps 10 years. It includes a colour specification…<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">withcolor 0.1black+0.5white;<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Mostly they come out like this, very light grey. This example is exported using colour-model cmyk, but most of the time using colour-model rgb it looks exactly the same, in my current project (only variables are colour map-fg, some map previews on or off and the colour model).<u></u><u></u></p><p class="MsoNormal"><img width="185" height="186" style="width: 1.9305in; height: 1.9375in;" id="gmail-m_-7186397347626896250Picture_x0020_1" src="cid:17b315de49b5b006a1"><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">For some reason, in my current project, if I use colour-model rgb for a particular output variant, I get a much darker gridline, as below. Other variants with rgb, the colour of the gridline matches the first example.<u></u><u></u></p><p class="MsoNormal"><img width="174" height="180" style="width: 1.8125in; height: 1.875in;" id="gmail-m_-7186397347626896250Picture_x0020_2" src="cid:17b315de49b855d352"> <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Any hints as to why the difference?<u></u><u></u></p><p class="MsoNormal">I might have expected this to occur with the new cmyk colour model, but it does not.<u></u><u></u></p><p class="MsoNormal">So far it has only happened with in a single specific case when using the rgb colour model. I’ll watch for more cases…<u></u><u></u></p><p class="MsoNormal">Bruce<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div>_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div>