Copy link to clipboard
Copied
Looking for a way to work around InDesign limited color management capability.
Suppose I have some object selected on the page, the script would have to be able to extract the CIE Lab values out of the selected object, convert to Chroma and Hue angle, and paste the values in a new text frame. Doable? Easily?
Well, here's a simple script that displays an alert with the CIE Chroma and CIE Hue angle information.
InDesign HSB is useless because it is based on RGB.
I am not by any means a JavaScript specialist.
The code is quite simple:
Copy link to clipboard
Copied
I have no solution here but if there is one, there are a couple of color folks who will provide it.
I'm just curious how extracting/calculating this fairly esoteric color value... and then just pasting in text values, is of use. For some manual entry at a later point? Seems as if any color value calculator could do that...
Copy link to clipboard
Copied
Well, here's a simple script that displays an alert with the CIE Chroma and CIE Hue angle information.
InDesign HSB is useless because it is based on RGB.
I am not by any means a JavaScript specialist.
The code is quite simple:
Copy link to clipboard
Copied
It's difficult to directly interpret the a and b values of a Lab color.
The Hue angle is much more intuitive.
Suppose I have two blue colors. If I know one has a hue angle of 257 and the other has a hue angle of 290 degrees then I can visualize abstractly the difference in appearance of those two colors. One (290) is more "purple" than the other, you see?
Copy link to clipboard
Copied
Hi @Roger Breton A conversion to HSB would be the only option. InDesign’s HSB is not device independent, it’s color managed via the assigned RGB profile, so its apperance would change depending on the RGB profile assignment.