code: function (idx) {
  		var r = this.getRed(idx),
  			g = this.getGreen(idx),
  			b = this.getBlue(idx);
  
  		r = Math.floor((0.393 * r) + (0.769 * g) + (0.189 * b));
  		g = Math.floor((0.349 * r) + (0.686 * g) + (0.168 * b));
  		b = Math.floor((0.272 * r) + (0.534 * g) + (0.131 * b));
  
  		r = r < 0 ? 0 : (r > 255 ? 255 : r);
  		g = g < 0 ? 0 : (g > 255 ? 255 : g);
  		b = b < 0 ? 0 : (b > 255 ? 255 : b);
  
  		return {red: r, green: g, blue: b};
  	}
docs: Gets the sepia of a pixel at a specific index
  
  @method getSepiaAtIndex
  @param {int} idx Index of pixel
  @return {object} Color