Added plugin stuff + rgbToHex method