Sub topic 7
Naming and Color-Labeling Layers
This chapter assumes you can open a document, find the Layers panel, and create pixel, type, and shape layers. It covers how Photoshop names layers by default, how to rename them, how to use color labels, and how to set up a naming convention a team can follow. Nothing here changes how the image looks. It changes how fast you can find and edit things later.
Why names matter
Photoshop gives every new layer a default name such as "Layer 1", "Layer 2", or "Shape 1". A file with 60 layers named that way forces you to toggle visibility one layer at a time to find the sky or the logo. Good names turn the Layers panel into a table of contents.
Some layers name themselves:
- Type layers take their name from the first characters you type. The name updates as you edit the text, until you rename the layer by hand. After that, it stays fixed.
- Layers created by pasting or dragging from another document often keep the source layer's name, or become "Layer 1".
- Duplicates get "copy" appended, so "Highlights" becomes "Highlights copy" and then "Highlights copy 2".
- Smart objects, adjustment layers, and fill layers use the name of their type, such as "Curves 1" or "Color Fill 1".
Renaming a layer
You can rename a layer in several ways:
- Double-click the layer's name in the Layers panel. The name becomes editable. Type the new name and press Enter or Return.
- Choose Layer > Rename Layer from the menu.
- Hold Alt (Windows) or Option (macOS) and double-click the name to open the Layer Properties dialog, where you can also pick a color. (Double-clicking the layer thumbnail instead may open a different dialog, such as Layer Style, so aim at the name text.)
- When you create a layer with Layer > New > Layer or the Alt/Option-click on the New Layer button, a dialog asks for the name and color before the layer is created. This saves a step.
Press Esc while editing to cancel and keep the old name. Layer names can be long, but the panel truncates them with an ellipsis. Keep the important words at the start.
Names are not the same as content
Renaming a layer does not rename anything inside it. A smart object keeps its embedded file name internally. A type layer you renamed no longer follows its text, so if you later change "Summer Sale" to "Winter Sale", the layer name still says "Summer Sale". This is a common source of confusion when handing files to others, so check type layer names before delivery.
Color labels
A color label is a colored tint on the layer's eye icon column in the Layers panel. Photoshop offers seven colors: red, orange, yellow, green, blue, violet, and gray, plus "None". The label is metadata only. It has no effect on compositing, export, or blending.
To set a color:
- Right-click a layer and choose a color from the context menu. (In some versions the colors appear at the bottom of the menu, in others near the top.)
- Open Layer Properties (Alt/Option-double-click the name) and pick from the Color list.
- Select several layers first, then set the color once. All selected layers receive it.
When you color a group, the color applies to the group row. Layers inside the group are not changed. Each layer carries its own label. If you want a whole group and its contents to match, select them all and set the color together.
Filtering by name
The same filter bar has a "Name" option. Type part of a layer name, such as "shadow", and the panel shows only the matching layers. This is why consistent words in names pay off. If every shadow layer includes the word "shadow", a single search finds them all, even across nested groups.
The filter changes only the display. Hidden layers stay hidden, and the stacking order does not change. Remember to clear the filter before you drag layers around, because drag targets you cannot see are easy to miss.
A naming and labeling convention
Pick rules once and apply them to the entire file. The following convention works for most design and retouching work:
| Part | Rule | Example |
|---|---|---|
| Content first | Name what the layer is | "Logo" |
| Role second | Add what it does, after a separator | "Logo - shadow" |
| State last | Add a marker for temporary layers | "Logo - shadow (old)" |
| Case | Use one style throughout | Sentence case |
| Numbers | Use two digits when order matters | "Variant 01", "Variant 02" |
A matching color scheme could look like this:
| Color | Meaning |
|---|---|
| Red | Needs fixing or review |
| Orange | Temporary or experimental |
| Yellow | Text and typography |
| Green | Approved and final |
| Blue | Lighting and adjustments |
| Violet | Smart objects and linked assets |
| Gray | Reference or hidden guides |
The meanings above are only an example. What matters is that everyone working on the file shares one scheme, and that the scheme is written down somewhere, for instance in a top-level group or a note in the project folder.
Common errors
- Leaving default names. "Layer 14 copy 3" tells you nothing. Rename a layer when you create it, not afterward.
- Renaming a type layer too early. A manual name stops the automatic text-based naming. Rename it only when the text is final.
- Trusting a label as a lock. Color has no protective function. To prevent edits, use the lock options covered in a later chapter.
- Using too many colors. Seven colors with seven meanings are hard to remember. Start with three or four.
- Mixed conventions. If half the file uses "bg" and half uses "background", name searches miss layers. Choose one word.
- Forgetting that labels do not carry everywhere. Colors are stored in the PSD and survive saving. Some export paths, such as flattening or saving as JPEG, discard layers and their labels completely.
- Long names in exported assets. If you use File > Generate or the Export As workflow, layer names can become file names. Avoid characters such as slashes and colons in those cases, and note that adding an extension such as ".png" to a layer name has a specific meaning in Generate.
Renaming by script
For files with many layers, a script can apply a consistent pattern. This ExtendScript sets a name and a label color on the active layer. The color property accepts values from the LayerColor enumeration, which is not documented as widely as other layer properties, so test it in your version of Photoshop.
// ExtendScript (.jsx): rename the active layer and label it red
var layer = app.activeDocument.activeLayer;
layer.name = "Logo - shadow";
var idSetD = charIDToTypeID("setd");
var desc = new ActionDescriptor();
var ref = new ActionReference();
ref.putEnumerated(charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt"));
desc.putReference(charIDToTypeID("null"), ref);
var props = new ActionDescriptor();
props.putEnumerated(charIDToTypeID("Clr "), charIDToTypeID("Clr "), charIDToTypeID("Rd "));
desc.putObject(charIDToTypeID("T "), charIDToTypeID("Lyr "), props);
executeAction(idSetD, desc, DialogModes.NO);The name assignment uses the regular DOM. The color uses the Action Manager, because the standard layer object does not expose a color label property.
Practice
Exercise
You renamed a type layer "Headline" and later change its text to "Spring Offer". What does the layer name show now, and why? Which kind of layer would have updated its name automatically?
Show answer
The name still shows "Headline". Once you rename a type layer by hand, Photoshop stops syncing the name with the text. A type layer you never renamed would have updated its name automatically as you edited the text.
Exercise
A teammate says they marked a layer red so nobody edits it. Why does this not protect the layer, and what should they use instead?
Show answer
A color label is only metadata for finding and sorting layers. It does not block any editing. To prevent changes they should use the layer lock options, such as locking pixels or locking all.
Exercise
You have 80 layers and want to see only those that still need review. Describe two ways to do this using the Layers panel filter, given that you followed a naming and labeling convention.
Show answer
Set the filter type to Color and choose red, if red means "needs review". Or set the filter type to Name and search for a shared word such as "(old)" or "review" that your convention puts in those layer names.