HSB .cxf File Generator
Ranges with large numbers of values may make the script run slowly. Duplicates (based on the html value) are eliminated. The script stops if it reaches 10,000 patches or 10,000,000 iterations.
Save the output as a text file with extension .cxf. Even though the specification is UTF-8, i1Profiler will not open UTF-8 files! At least for me in Windows 7. So I save them with regular ANSI encoding. The .cxf file can be loaded as spot colors for display profiling or printer optimization. These color objects must include Lab values.
If the stylesheet cxf.xsl is in the same folder, you can open the .cxf file with a browser to see formatted results. Works for me in Firefox. If you add an .xml extension to the .cxf file, it works in some other browsers, such as Internet Explorer and Safari.
The patch display is color managed and adapted to/from a D50 working space, so it should match that of popular photo editors. This is of particular interest when using the HSL and HSB generators, as these colors are device-dependent and affected by the working color space. In the output, the ColorHTML tag specifies the color to be displayed in a browser, which uses sRGB; and the TagCollection RGB tag gives the actual RGB values specified by the HSL or HSB values.
i1Profiler optimization | Lab | LCh | colorize/HSL | HSB | RGB | custom Lab