Lines Matching refs:rgb
99 var rgb = this.palette[((b>>(7-i))&0x1)];
100 this.data[location+i*4] = rgb.red;
101 this.data[location+i*4 + 1] = rgb.green;
102 this.data[location+i*4 + 2] = rgb.blue;
127 var rgb = this.palette[before];
128 this.data[location] = rgb.red;
129 this.data[location + 1] = rgb.green;
130 this.data[location + 2] = rgb.blue;
135 rgb = this.palette[after];
136 this.data[location+4] = rgb.red;
137 this.data[location+4 + 1] = rgb.green;
138 this.data[location+4 + 2] = rgb.blue;
156 var rgb = this.palette[b];
157 this.data[location] = rgb.red;
158 this.data[location + 1] = rgb.green;
159 this.data[location + 2] = rgb.blue;