This is an example of athe range of available named colours that can be used in d3.js. These are of couse the SVG named colours.
Advice can be found on-line that not all browsers will render them correctly. I have tested with Chrome and Firefox and found them suitably visible.
These are used as references and described in the book D3 Tips and Tricks.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js