ki/Relative_luminance</a>.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">double computeLuminance() {
  &#47;&#47; See &lt;https:&#47;&#47;www.w3.org&#47;TR&#47;WCAG20&#47;#relativeluminancedef&gt;
  final double R = _linearizeColorComponent(red &#47; 0xFF);
  final double G = _linearizeColorComponent(green &#47; 0xFF);
  final double B = _linearizeColorComponent(blue &#47; 