ColorTool.toHex('rgb(255,255,255)');
// Result: "#ffffff"

ColorTool.toRgba('#fff', 0.5);
// Result: "rgba(255,255,255,0.5)"

ColorTool.getBrightness('#123123');
// Result: "0.13333333333333333"

ColorTool.removeOpacity('rgba(12, 34, 56, 0.7)');
// Result: "rgb(12,34,56)"

ColorTool.setOpacity('#123123', 0.5);
// Result: "rgba(18,49,35,0.5)"

ColorTool.splitRgb(ColorTool.toRgb('#fff'));
// Result: [255, 255, 255]