mathics-threejs-backend

A color is an array of 3 floats (red, green and blue) in the range 0-1.

To convert a 0-255 number to 0-1 you just need to divide the number by 255.

Examples