docs: function parse_BrtColor(data/*::, length*/) {
  	var out = {};
  	var d = data.read_shift(1);
  
  	//var fValidRGB = d & 1;
  	var xColorType = d >>> 1;
  
  	var index = data.read_shift(1);
  	var nTS = data.read_shift(2, 'i');
  	var bR = data.read_shift(1);
  	var bG = data.read_shift(1);
  	var bB = data.read_shift(1);
  	data.l++; //var bAlpha = data.read_shift(1);
  
  	switch(xColorType) {
  		case 0: out.auto = 1; break;
  		case 1:
  			out.index = index;
  			var icv = XLSIcv[index];
  			/* automatic pseudo index 81 */
  			if(icv) out.rgb = rgb2Hex(icv);
  			break;
  		case 2:
  			/* if(!fValidRGB) throw new Error("invalid"); */
  			out.rgb = rgb2Hex([bR, bG, bB]);
  			break;
  		case 3: out.theme = index; break;
  	}
  	if(nTS != 0) out.tint = nTS > 0 ? nTS / 32767 : nTS / 32768;
  
  	return out;
  }