r">
<a href="#color-matching" class="anchor"></a>Color matching</h3>
<p>brickr uses the <a href="https://CRAN.R-project.org/package=farver"><code>farver</code></a> package to match image colors to the subset of LEGO colors. Technical details of the different algorithms can be found on <a href="https://en.wikipedia.org/wiki/Color_difference">Wikipedia</a>.</p>
<p>The default algorithm is ‘cie94’, though the other farver options are available using the <code>method</code> input.</p>
<div class="sourceCode