Relative Content

Tag Archive for javascriptuser-interfaceaccessibility

How could I generate a set of maximally contrasting colors for accessibility, given a number of colors to generate?

I’m developing a web app (JavaScript/HTML/Three.js) where users draw on 3D models. Each drawing is given a particular adjective, and I want each adjective to correspond to a particular color which is drawn onto the 3D object. So, for example, if I want to color with “pleasant”, it would appear as some arbitrary on the 3D model. Every time I color with “pleasant”, it will appear as that same color.