I want to convert CMYK to RGB using javascript or python etc.
The conversion depends on the “Colorspace” that is being used in the CMYK system. In our case, we use the Colorspace of: U.S. Web Coated (SWOP) v2
So, the CMYK colors are different RGB codes for this colorspace, than they would be for another colorspace.
For example, when we open up Adobe Illustrator and put in the CMYK value, the RGB and Hex values are different from those in an online conversion screen that does not adjust for Colorspace.
I tried using Colorvert. It seems to work but can anyone provide exact solution/ snippet.