• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Set QR code color via RGB Value?

New Here ,
Jun 22, 2023 Jun 22, 2023

Copy link to clipboard

Copied

I see how to change a QR code colr by mactching an existing color in an image/document. However I want to enter a specific RGB value and change it to that. 

TOPICS
How to

Views

434

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 22, 2023 Jun 22, 2023

Copy link to clipboard

Copied

You can only use colors that are defined as swatches in InDesign, since they're a root value of various styles. So your only path would be to use the RGB values to define a swatch, then apply that swatch to the code's foreground or background.

 

You could create a color swatch named, say, QRcode, and assign any color value you like to it. However, it's a bit of an anomaly in ID's operation that if you generate a QR code using that color, and then change the color... the code's color will not change until you edit it. (Such 'sticky' colors are unusual in ID's methods, but the QR code generator is an outlier in many ways.)

 

But there is no way to bypass the need for a swatch, unless there are some deep hooks that scripting can reach. I'd bet the call only allows specifying a swatch, but one of the scripting wizards might know differently.


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 22, 2023 Jun 22, 2023

Copy link to clipboard

Copied

Workaround

Set a spot colour before you make the QR Code

EugeneTyson_1-1687497486010.png

 

Generate the QR Code with the new colour

EugeneTyson_2-1687497530243.png

 

 

 

 

EugeneTyson_3-1687497553418.png

 

 

Make another swatch

EugeneTyson_4-1687497595933.png

 

Then use the Ink Manager

EugeneTyson_5-1687497630448.png

 

Set the QR code to be an Alias to the RGB swatch you made

EugeneTyson_6-1687497692757.png

 

 

View Overprint Preview

EugeneTyson_7-1687497750545.png

 

Now when you edit your Random Swatch in the swatch panel it will update live in the document

EugeneTyson_8-1687497795760.png

 

 

 

You can only see the change when in Overprint Preview -

You're creating a swatch in spot colour for the QR code - this makes it a separate Ink for printing and shows up in the Ink Manager

Then making your new RGB swatch

You can then Alias the Spot to any other colour - which maps that spot colour to whatever colour needed.

 

You can then update the RGB swatch to any colour you want - and it will update all the colours in the document that QR code colour is Aliased to.

 

It's quite quick to setup - but can only be viewed in Overprint Preview

And should output just fine.

 

 

 

 

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 23, 2023 Jun 23, 2023

Copy link to clipboard

Copied

Right, as with other things in ID there are multiple paths to the same end. But I read the question as "is there any way I can set an RGB color as part of creating a QR code" — and the answer is no, since the color is managed (simply or elaborately or script-ally) outside the generator, and must be done by assigning an existing swatch.


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 23, 2023 Jun 23, 2023

Copy link to clipboard

Copied

  1. Yeh it's really poor implementation of a feature that never got an improvement since version 1.

 

There are always roundabout ways to do things and it's frustrating.

 

But you can create a colour and map it and that goes across multiple disciplines and workflows 

 

It's a handy thing to remember. 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 23, 2023 Jun 23, 2023

Copy link to clipboard

Copied

Absolutely, and the technique was worth repeating here. I've noted it. 🙂

 

It really, really seems to me that the almost wholly standalone QR code module could have been updated by now. 😞


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 23, 2023 Jun 23, 2023

Copy link to clipboard

Copied

LATEST

Like so many features it has not been improved in a long time, if at all, that I know of.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines