Page 1 of 1
Colors linked to a file? Color palette
Posted: 2014-03-07 00:52:34
by NisusUser
I'm working on a project that has several colors in it. If I open it in another computer, the colors I've placed in the bottom boxes won't be visible (pre-selected) since they are Apple-specific, not NWP-specific. Is there a way to find out what colors are used in a NWP file and then put those colors in the boxes in the color palette?
Also, for shading in tables, I'm using a 40% Blend of a green color for certain things. Elsewhere, I'm using a 10% Blend of black (Licorice) to get gray. I predict I'll forget what percentages I used. Is there a way to find out what I used in a certain file? As a related comment, I can use the "Dropper" to select the formatting in one cell of a table (the Dropper fills up), but I don't see how to make it apply that to another cell.
Re: Colors linked to a file? Color palette
Posted: 2014-03-07 01:54:24
by phspaelti
Hello again Eric,
here a macro that will return the hex triplets of all the colours used. I don't know if there is any easy way to transfer that info to the colour palette.
Re: Colors linked to a file? Color palette
Posted: 2014-03-07 02:14:49
by NisusUser
phspaelti wrote:[…] a macro that will return the hex triplets of all the colours used. I don't know if there is any easy way to transfer that info to the colour palette.
interesting, Philip. And thanks. It gave me this:
So I guess only two colors are in this file? The strange thing is that the fonts are in deep green and a 40% blend of that is used in table headers. And the 10% Blend of Black. So I guess this is accurate - two colors are used: green and black.
Re: Colors linked to a file? Color palette
Posted: 2014-03-20 15:01:21
by martin
NisusUser wrote:Is there a way to find out what colors are used in a NWP file and then put those colors in the boxes in the color palette?
You can always switch Apple's color picker to RGB mode and inspect the value you have selected in Nisus Writer:

- picker.png (27.14 KiB) Viewed 5736 times
This works for text coloring and table cell shading. Likewise you can select any table cell in NWP and look at the state of the Table Cell Shading palette to see the blend percentage.
As a related comment, I can use the "Dropper" to select the formatting in one cell of a table (the Dropper fills up), but I don't see how to make it apply that to another cell.
I'm afraid this isn't possible, and you'll need to manually synchronize them. I would recommend selecting all the table cells in question and applying the coloring to them all at once, so the colors/patterns are exactly equal.
So I guess only two colors are in this file? The strange thing is that the fonts are in deep green and a 40% blend of that is used in table headers.
Philip's macro only inspects text coloring, not any shading you've applied to table cells. I've gone ahead and extended his macro so that it can do both (see attached).
Re: Colors linked to a file? Color palette
Posted: 2014-03-20 21:50:24
by NisusUser
Thank you, Martin. Your comments and the upgraded macro are helpful. Is a feature request that the dropper be able to carry formatting over to a different cell be appropriate?
Re: Colors linked to a file? Color palette
Posted: 2014-03-24 16:05:30
by martin
NisusUser wrote:Is a feature request that the dropper be able to carry formatting over to a different cell be appropriate?
I'd say so! And I've already filed it, thanks.
I also upvoted the request that NWP provide proper styles for table cells borders and shading.