Global.rgb.compose (n, bits)
Sourcecode in /home/hannes/helma/modules/helma/Color.js:
39:   var compose = function(n, bits) {
40:                   var div = Math.pow(2, bits);
41:                       remainder = n % div;          
42:                       return Math.floor(n/div);
43:                   }