AgentSkillsCN

ps-blend-modes

Photoshop 混合模式科学与数学公式:暗化组(暗化、正片叠底、颜色燃烧、线性燃烧)、亮化组(亮化、屏幕、颜色 dodge、线性 dodge)、对比度组(叠加、柔光、强光、鲜艳光)、组件组(色相、饱和度、颜色、亮度)。快速参考:去除黑白背景、添加光晕/阴影、纹理叠加、色彩调色、高通锐化。

SKILL.md
--- frontmatter
name: ps-blend-modes
description: "Photoshop blend mode science with math formulas: darken group (darken, multiply, color burn, linear burn), lighten group (lighten, screen, color dodge, linear dodge), contrast group (overlay, soft light, hard light, vivid light), component group (hue, saturation, color, luminosity). Quick reference for removing black/white backgrounds, adding glow/shadow, texture overlay, color tinting, high-pass sharpen."
license: MIT
compatibility: opencode
metadata:
  audience: designers
  workflow: photoshop-mcp

§2 BLEND MODE SCIENCE

Every blend mode is a math formula combining the current layer (top) with layers below (bottom).

DARKEN GROUP — Result is always darker or same

ModeFormulaUse For
DARKENmin(top, bottom)Composite dark elements, remove white backgrounds
MULTIPLYtop x bottom / 255Shadows, dark overlays, multiply textures. Black stays black, white disappears
COLOR_BURN1 - (1-bottom)/topIntense dark contrast, dramatic shadows
LINEAR_BURNtop + bottom - 255Darker than Multiply, harsh dark blending

LIGHTEN GROUP — Result is always lighter or same

ModeFormulaUse For
LIGHTENmax(top, bottom)Composite light elements, remove black backgrounds
SCREEN1 - (1-top)(1-bottom)Glow effects, light leaks, neon text. White stays white, black disappears
COLOR_DODGEbottom / (1-top)Intense highlights, glowing edges
LINEAR_DODGEtop + bottomBrightest additive blend, lens flares

CONTRAST GROUP — Darken darks, lighten lights

ModeFormulaUse For
OVERLAYMultiply if bottom<128, Screen if >128Most versatile. Texture overlay, high-pass sharpen, color grading
SOFT_LIGHTGentle OverlaySubtle color tinting, gentle light/shadow. Best for color grading
HARD_LIGHTMultiply if top<128, Screen if >128Like Overlay but keyed to TOP layer
VIVID_LIGHTColor Burn/Dodge comboUse batchplay for this blend mode

COMPONENT GROUP — Blend specific color properties

ModeFormulaUse For
HUEHue from top, Sat+Lum from bottomChange colors without affecting light/shadow
SATURATIONSat from top, Hue+Lum from bottomDesaturate/saturate specific areas
COLORHue+Sat from top, Lum from bottomColorize. Tinting photos, hand-coloring B&W
LUMINOSITYLum from top, Hue+Sat from bottomApply brightness changes without color shifts

QUICK REFERENCE

code
Remove black background  → SCREEN
Remove white background  → MULTIPLY
Add glow/light           → SCREEN or LINEAR_DODGE
Add shadow/darkness      → MULTIPLY
Texture overlay          → OVERLAY or SOFT_LIGHT
Color tinting            → SOFT_LIGHT or COLOR
High-pass sharpen        → OVERLAY
Color grading            → SOFT_LIGHT