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

Alter colour of all text layers at once CS6

Contributor ,
Jul 08, 2024 Jul 08, 2024

Hi,

I have my text layers in the same colour and wish to change it to another colour.

I am CS6

How is this done ?

I follow a method select text layers , select T at top, click colour box and nothing happens.

By colour Box I presume the coloir picker, where I have the new colour waiting.

Maybe that works for a later version.

 

Merlin

TOPICS
Windows
517
Translate
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

correct answers 2 Correct answers

Community Expert , Jul 08, 2024 Jul 08, 2024

It depends on how many text layers you have, so you can select your first text layer then Ctrl click on every other text layer till they are all selected. (Ctrl click to the right of the layer name to select a layer)

or

Click on Kind in the layer filter, click on the T, then go to Select>Select all Layers.

Then click on the Horizontal Type Tool in the tools panel and click on the color swatch in the tool options bar to change the color of all the text layers.

 

Screenshot-(1211).jpgScreenshot-(1212).jpgScreenshot-(1213).jpg

Translate
Community Expert , Jul 08, 2024 Jul 08, 2024

After you click on the color chip in the type tool options you could use the eyedropper to click on the Foreground color chip in the tools panel.

Translate
Adobe
Community Expert ,
Jul 08, 2024 Jul 08, 2024

It depends on how many text layers you have, so you can select your first text layer then Ctrl click on every other text layer till they are all selected. (Ctrl click to the right of the layer name to select a layer)

or

Click on Kind in the layer filter, click on the T, then go to Select>Select all Layers.

Then click on the Horizontal Type Tool in the tools panel and click on the color swatch in the tool options bar to change the color of all the text layers.

 

Screenshot-(1211).jpgScreenshot-(1212).jpgScreenshot-(1213).jpg

Translate
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
Contributor ,
Jul 08, 2024 Jul 08, 2024

Hi,

I can select the colour at top menu and it changes, but selecting the colour in the left side coloir picker doesnt change, I have to copy paste the hex value or write down the RGB and type these into the colour box at the top menu, then it works.

 

I always mix my colours using the left hand side box, so its a pain that one doesnt alter the text colours.

is there a trick in migrating the mix there to the top most box that is for text colours ?

 

I often find I have dabbled with coliurs for my text at left, then during editing find the upper box hasnt the colour.

 

Merlin

Translate
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 ,
Jul 08, 2024 Jul 08, 2024
quote

I often find I have dabbled with coliurs for my text at left, then during editing find the upper box hasnt the colour.

 

Merlin


By @Merlin3

 

 

You need to use the Text fill colour swatch to "dabble" with the colour of selected text layers, not the foreground colour swatch.

 

Do it as @Jeff Arola recommends, adjust your workflow to what Photoshop requires.

 

A script could apply the foreground colour to all text layers or only selected text layers, however, as you use CS6 you may not find someone with that old version who knows how to script this. As this will most likely require Action Manager code, newer version of Photoshop may not produce backwards compatible AM code.

Translate
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 ,
Jul 08, 2024 Jul 08, 2024

I have to copy paste the hex value or write down the RGB and type these into the colour box at the top menu, then it works.


By @Merlin3

 

 

I'm not sure if the following code works with CS6. It will copy the foreground colour as a hex code to the clipboard, which you can then paste into the text colour swatch for the selected text layers:

 

/* Based on - https://gist.github.com/Arahnoid/9923989 */
var fR = Math.floor(app.foregroundColor.rgb.red);
var fG = Math.floor(app.foregroundColor.rgb.green);
var fB = Math.floor(app.foregroundColor.rgb.blue);
rgbToHex(fR, fG, fB);
function rgbToHex(r, g, b) {
    var theHex = "#" + ((1 << 24) + (r << 16) + (g <<  + b).toString(16).slice(1);
    //var theHex = ((1 << 24) + (r << 16) + (g <<  + b).toString(16).slice(1);
    // theHex = theHex.toUpperCase();
    
    var d = new ActionDescriptor();
    d.putString(stringIDToTypeID("textData"), theHex);
    executeAction(stringIDToTypeID("textToClipboard"), d, DialogModes.NO);
}

 

Translate
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 ,
Jul 08, 2024 Jul 08, 2024

After you click on the color chip in the type tool options you could use the eyedropper to click on the Foreground color chip in the tools panel.

Translate
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 ,
Jul 08, 2024 Jul 08, 2024
LATEST

Doh! Well said @Jeff Arola 

Translate
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