int getHex([String colorSpace = SRGBColorSpace]) { ColorManagement.fromWorkingColorSpace(toComponents(this, _rgb), colorSpace); return (r * 255).toInt() << 16 ^ (g * 255).toInt() << 8 ^ (b * 255).toInt() << 0; }