code: function applyToPixel(pixel, effect, result) {
    vec4TransformMat4Transposed(result, pixel, effect.colorMatrix);
    vec4.add(result, result, effect.colorOffset);
  }
docs: Apply color effects to a single pixel
  
  @param {vec4} pixel Values in range [0,1]
  @param {Object} effect
  @param {vec4} effect.colorOffset
  @param {mat4} effect.colorMatrix
  @param {vec4} result Object to store result
  
  @memberof colorEffects