code: @Override
  	protected void doTransform(ITransformable.Color transformable, float comp)
  	{
  		if (comp <= 0)
  			return;
  
  		int from = reversed ? toColor : fromColor;
  		int to = reversed ? fromColor : toColor;
  
  		int r = (int) (red(from) + (red(to) - red(from)) * comp);
  		int g = (int) (green(from) + (green(to) - green(from)) * comp);
  		int b = (int) (blue(from) + (blue(to) - blue(from)) * comp);
  
  		transformable.setColor((r & 0xFF) << 16 | (g & 0xFF) << 8 | b & 0xFF);
  	}
docs: Calculates the transformation.
  
  @param transformable the transformable
  @param comp the comp