solid-parakeet - color model for complex numbers
<img align=right alt=hsl src=https://upload.wikimedia.org/wikipedia/commons/thumb/3/32/HSL_sphere_color_solid.png/320px-HSL_sphere_color_solid.png title=SharkD@wikimedia.org />
equivalent to the suface depicted as the riemann sphere.
hue is the imaginary componet. lightness the real. 100% saturation; gray is NaN.
> solidparakeet( 0, 1 )
'hsla(90, 100%, 50%, 1)'
browser
<script src="solid-parakeet.js"></script>
<script>
solidparakeet( 0, 1 )
</script>
npm
npm install --save solid-parakeet
var solidparakeet = require( 'solid-parakeet' )
require.js
<script src="require.js"></script>
<script>
requirejs( ['solid-parakeet'], function ( solidparakeet ) {
document.body.style.backgroundColor = solidparakeet( 0, 1 )
} )
</script>