Jump to content
You must now use your email address to sign in [click for more info] ×

Shifting color of multiple objects


Recommended Posts

Hi,

Is it some way possible in Affinity Publisher to select multiple objects with different colors and set the exact value of a single color channel? So basically unchanged color sliders c.q. color channels should remain their value.

Currently if I select multiple different colored objects and change a single color slider all objects get the same color (which normally makes sense using a color panel).

Example project (see screendump attached): one page contains many color boxes with different G and B values (colors set manually). I copied that page multiple times and on each page I intend to change the R value a bit for all color boxes on that page.

Is that going to be a manual thing either or can some software trick take over the work?

Roberto

 

ColorChart.png

Link to comment
Share on other sites

I assume the rectangles are vector shapes, right?

Some "global" change is possible with HSL adjustment, but that will rasterize all affected content.

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

If you don't mind the swatches becoming rasterised when the document is exported, simply overlay the array of R=0 swatches with a rectangle which has blend mode Add and has the required red value for the page. For example use a rectangle with RGB(240, 0, 0) as the Add overlay for your page 12. I have simulated that in Photo, as shown below, but use a similar red rectangle in your real Publisher document.

initial.thumb.png.731d07a7f16023a4f0c904a84beed1f0.png

653047910_redoverlayNormal.thumb.png.46fbc0bccc75044fe906a439c03fb1dd.png

1487372313_redoverlayAdd.thumb.png.d5d224840be6791e64f17ac393299170.png

Link to comment
Share on other sites

Thanks for the replies.

Yes, the rectangles with color fill are all vector objects.

The layer blending option 'add' looks like actually doing exactly what I asked for BUT I get different results than your example (I use Affinity Windows v 2.03):
When I place a large red rectangle with blending 'add' the pure white areas (255-255-255) get x,0,0 (x=value red channel of red box) instead of white.
See attached: this is not correct behavior since -all- other colors do well. Looks like a bug or a fluke of the day: perhaps tomorrow it works.
A workaround could be blending many little red boxes instead of a single large one.

Initially these color charts are not supposed to be exported. The swatches getting rasterized would be a pitty so I experimented a bit with adding, substracting, etc. objects but it isn't going to work.
My main problem with the vectors becoming rasters is that it might affect print results while these color charts are intended for picking exact colors from prints: I know from (way) back in my CorelDraw days documents containing both vectors and bitmaps containing identical colors showed totally different colors when printed. Prints looking different from display always was and still is but both raster objects and vector objects having exact same colors (values & look on display) looking different on print is something I haven't tested yet in Affinity.

Anyway, the blending option 'add' will do the trick for now as long as I stick to using the original Affinity documents 🙂

Cheers!

ColorChart2.png

Link to comment
Share on other sites

2 hours ago, Roberto1972 said:

When I place a large red rectangle with blending 'add' the pure white areas (255-255-255) get x,0,0 (x=value red channel of red box) instead of white.

That's because the "pure white areas" aren't white at all, they are transparent.
Place a pure white rectangle in the background on the master page. ;) 

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

Hi Lacerto,

Are you saying you could not blend the red at all in CorelDraw or did you not export it succesfully?

I just tried in CorelDraw and both blend modes "Add" as well as "Logical OR" work. However, I think technically they are not the same: if writing out the values (8-)bit wise e.g. 60-100-150 OR 20-0-0 turns out 60-100-150 and not 80-100-150 like 'add' would. I think using the Logical OR blending mode in a gradient one would get bands of colors instead of smooth gradients.

Oh my, that code is exactly what makes computers interesting: you put in the creativity -exactly as imagined- and the machine does the work and fast 🙂
That's different from software which can leave one with workarounds more than occasionally 😕 
Writing and testing the code is a different story, though: usually time consuming as well.

CorelDraw_BlendAdd.png

Link to comment
Share on other sites

Hi lacerto,

I overlooked the pdf you created and attached!

Thanks for that: importing it to publisher all color swatches are indeed vector rectangles each containing the individual colors with the intended color values.
Certainly a useful pdf for future use as well 🙂

Cheers,
Roberto

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.