Handbook contentsChapter 2 of 16

Part 1 · How an image works

  1. 01Pixels, sensors and bits
  2. 02RGB and colour channels
  3. 03The nature of contrast
  4. 04Light and volume
  5. 05Skin tone and colour contrast
  6. 06Reading by the numbers

Part 2 · God mode tools, in workflow order

  1. 07Workflow and workspace
  2. 08Foundation: colour first
  3. 09Cleaning the skin
  4. 10Skin check, frequency separation
  5. 11Dodge & burn
  6. 12Eyes, hair, shape, details
  7. 13AI check
  8. 14Colour and grading
  9. 15Delivery

Part 3 · A worked example

  1. 16Worked example

Chapter 2

RGB: three numbers behind every colour

Additive RGB colour, why skin is nearly always R > G > B, what each channel shows about skin, what gamma is, and how Lab and Oklab split colour from lightness.

6 min read Đọc bằng tiếng Việt

Looking at a portrait, our eyes see protruding cheekbones, the folds of an eyelid, or the pink hue of lips. The software does not see those things: it only sees a grid of number triplets.

To master skin retouching, you need to learn to look at images through those very numbers. Every colour, every transition from light to dark on the model's face, is mixed from exactly three values.

Additive colour

Monitors and image files create colour using the additive colour principle: red (R), green (G), and blue (B) light is emitted at varying intensities and then added together to form the colour that enters our eyes. In an 8-bit image, each channel has a value from 0 to 255.

When all three channels are 0, it is black; when all three are 255, it is white. When R, G, and B are equal at any level (e.g., 128, 128, 128), we get a neutral grey: not leaning towards any colour.

Reading colour directly from the three numbers is a basic reflex for a retoucher. The highest channel tells you which way the colour is leaning. The distance between the highest and lowest channels indicates saturation: the further apart, the more saturated; the closer, the nearer to grey.

With human skin, whether fair or dark, R > G > B is almost always true: red is highest, then green, with blue being the lowest. Thanks to this, you can quickly check if an area of skin has a colour cast. If you sample a shadow under the chin and see green is higher than red, that area likely has a green cast, often due to light bouncing off nearby foliage or walls, and needs to be neutralised.

Drag the three R, G, B sliders or click the swatches. The white dot on the small circle shows the position of the selected colour; notice how it stays close to the faint line (the skin tone line) as long as you maintain the R > G > B order.

A large colour square that changes with the three R, G, B sliders, accompanied by a small colour wheel showing the skin tone line

Drag the three sliders or click the swatches. The white dot on the small circle is the colour's position; the faint line is the skin tone line. Interactive illustration: drag and tap to try it. Needs JavaScript.

Each channel is a black and white image

Combined they form a colour image, but individually, each channel is a greyscale image: it records the amount of light for that specific colour at each pixel. Separate the three channels of a portrait, and you will see how skin reacts very differently to each colour of light.

The red channel is the brightest and smoothest. Skin reflects a lot of red light; moreover, red light has a long wavelength, so it penetrates deep beneath the epidermis before scattering back out. This phenomenon is called subsurface scattering: light diffusing under the skin blurs fine surface details, so tiny skin texture almost disappears in the red channel.

The green channel retains a moderate amount of detail and is closest to the brightness the human eye perceives, because our eyes are most sensitive to this region of light.

The blue channel is the darkest, the noisiest, and exposes pigment flaws the most clearly. Blue light penetrates less deeply and is strongly absorbed by skin pigment (melanin) and blood beneath the skin. Because of this, freckles, dark acne marks, dark under-eye circles, and sun-damaged skin appear significantly darker than the surrounding skin.

Remember. If you want to hunt for blemishes and clean up the skin, inspect the blue and green channels. If you want to know whether the highlight on the tip of the nose or the cheekbone is clipping and losing detail, look at the red channel: human skin usually clips in the red channel first.

Click through each channel and notice the freckles: they almost vanish in the red channel and stand out clearly in the blue channel.

A close-up portrait with freckles and blush
The same face through each channel. Notice how the freckles almost disappear in the red channel and stand out clearly in the blue channel. Interactive illustration: drag and tap to try it. Needs JavaScript.

Numbers are not the amount of light

A common misconception: RGB numbers are directly proportional to the actual amount of light. In reality, the numbers in a JPEG file or the sRGB colour space have been encoded to match how the eye perceives light. This encoding is called gamma, and it is not linear to light.

The human eye is very sensitive to small differences in dark areas, and less sensitive in bright areas. Gamma encoding therefore allocates more levels to the shadows, so as not to waste levels where the eye cannot tell the difference.

The consequence: the number 128, sitting in the middle of the 0–255 range, does not represent 50% light, but only about 22%. Doubling the light (+1 stop) also does not double the number.

This directly affects processing quality. If you darken, brighten, blend, or blur directly on gamma numbers, the result will deviate from how real light behaves: light-to-dark transitions become harsher, and areas where two colours meet can become muddy and dark.

For volume transitions to look as natural as real light, those calculations should be done in linear light: convert the numbers back to the true amount of light, calculate, and then gamma-encode them back for display.

Toggle the labels on the two grey gradients below to see how the numbers stored in the file differ from the actual amount of light.

Two strips of 11 grey squares: one strip increases evenly by number, the other increases evenly by light amount

The top strip increases evenly by number, the bottom strip increases evenly by light amount. Toggle the labels to see how the numbers stored in the file differ from the actual amount of light. Interactive illustration: drag and tap to try it. Needs JavaScript.

Other ways of looking at the same three numbers

RGB is the language of machines, but it is not intuitive for humans. Other colour models reinterpret the same three numbers along axes that are easier to use.

HSL / HSB separates colour into hue, saturation, and lightness (or brightness). It is easy to visualise, but the "lightness" of HSL does not match human perception: a vibrant yellow and a deep blue can have the same L value, whereas the eye always sees the yellow as much brighter.

Lab and Oklab have a lightness axis, L, that closely matches human perception, plus two colour axes: a (green ↔ red) and b (blue ↔ yellow). Because they are separated this way, you can change the colour of a patch of skin without changing its lightness, or adjust the brightness of a cheek volume without shifting its colour. This is exactly what a retoucher needs when evening out skin tone without losing volume.

Finally, the three RGB numbers only mean something when paired with a colour space: sRGB, Adobe RGB, Display P3, ProPhoto RGB. A colour space acts like a map, defining what real colour the three numbers correspond to.

Common mistake. The same set of numbers, 200, 120, 90: in sRGB it is a moderate orange, but in Adobe RGB or ProPhoto RGB it is a much more saturated orange. That is why image files must embed a colour profile. Images delivered to clients for web or mobile viewing should be converted to sRGB.

In Fotoreto. In God mode, hover over the image to read R, G, B, lightness L*, and deviation from the skin tone line directly in the histogram block at the top of the adjustment column. The Dodge & Burn brush lightens and darkens by multiplying all three channels equally in linear light, so dodging and burning does not shift the skin colour (measured on a real image: darkened by 1 stop, the skin hue shifted from 25.4° to 25.3°). The colour layers, and the Luminance, Sat/Luma curves in Deep Curves, all calculate in Oklab to change colour while maintaining lightness (or vice versa).

Summary

  • Monitors and image files create colour by adding red, green, and blue light. R = G = B is neutral grey.
  • Human skin almost always has R > G > B; use this to spot colour casts.
  • Each channel is a greyscale image: the red channel is the smoothest and clips most easily; the blue channel exposes freckles and blemishes most clearly.
  • Numbers in the file are gamma-encoded, not proportional to real light; brightening, darkening, and blending should be calculated in linear light.
  • Lab and Oklab separate colour from lightness; a colour space defines what colour the three numbers represent.

A single number on its own doesn't tell us anything. The eye only recognises volume and detail when it reads the difference between numbers, and that is contrast, the subject of the next chapter.