Constructing d3.rgb(r, g, b) using d3.svg.arc() to compare darker, normal and brighter variations
Sources:
xxxxxxxxxx
<meta charset="utf-8">
<style>
body { font-family: Consolas, monaco, monospace; padding: 20px; background: #eee}
</style>
<body>
<header>
<p>rgb darker, rgb normal & rgb brighter</p>
</header>
<section id="vis"></section>
<script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script>
<!-- d3 code -->
<script src="script-compiled.js" charset="utf-8"></script>
https://d3js.org/d3.v3.min.js