Shift the Hue of an Image

Turn every colour in a picture round the colour wheel: red to green, blue to orange, or each colour to its opposite. Greys and white stay as they are, and the image never leaves this browser tab.

How it works

Each pixel is described as hue, saturation and lightness (HSL). Only the hue, an angle round the colour wheel from 0 to 360 degrees, is changed. Saturation and lightness stay.

In practice that keeps each pixel's largest and smallest channel and moves the colour between them. Red, 255, 0, 0, turned 180 degrees becomes cyan, 0, 255, 255.

Greys, black and white have no hue, so they are left exactly as they were. The preview is a small copy; the download is made at full size in a background worker.

How to use it

  1. 1 Choose an image, drop it on the file box, or paste one with Ctrl+V.
  2. 2 Pick Complementary, a third round, two thirds round or a small nudge. Open Fine-tune for any angle from 0 to 359 degrees.
  3. 3 Press Show original to compare, then press Download. JPEG stays JPEG, PNG stays PNG.

Good to know

  • Hue shift is a quick way to make colour variants of an icon, a badge or a game sprite from one drawing.
  • Text on a white background and black outlines stay untouched, because they have no hue.
  • Skin tones change too. To recolour one object in a photo, cut it out first; this tool turns the whole picture.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

How a hue shift turns the colours of a picture

Painters and designers arrange colours on a wheel. Red sits at 0 degrees, yellow at 60, green at 120, cyan at 180, blue at 240 and magenta at 300, and then the wheel comes back to red. A colour's hue is its angle on that wheel. A hue shift turns every colour in the picture by the same angle, so the relations between colours stay the same while the colours themselves change.

This tool works in HSL: hue, saturation and lightness. Turning the hue there keeps the other two exactly, which has a simple meaning in red, green and blue: the largest and smallest channel of each pixel keep their values, and only the order and the middle value change. A rust colour of 200, 100, 50 turned 180 degrees becomes 50, 150, 200, a clear sky blue. A sky blue of 90, 150, 220 becomes 220, 160, 90, a warm sand. Orange, 255, 165, 0, turned 120 degrees becomes 0, 255, 165, a mint green.

There is another common way to do it, the matrix that CSS hue-rotate() uses. It keeps each pixel's brightness instead of its saturation. That sounds better, but strong colours do not survive it: pure red turned 180 degrees comes out about 0, 109, 109, a dull dark teal, and some colours are clipped at the edge of what a screen can show. For colour variants of a logo or icon, people usually expect the HSL result, where red's opposite is a bright cyan.

The presets cover the common jobs. Complementary, at 180 degrees, swaps each colour for its opposite: warm becomes cool and cool becomes warm. A third round, at 120 degrees, moves red to green, green to blue and blue to red; two thirds round, at 240 degrees, goes the other way. Nudge, at 30 degrees, is a small step that makes reds lean orange and blues lean purple, handy for a variant that still feels related to the original.

Know the limits before you use it on a photo. The whole picture turns, so faces, skies and grass change colour along with the thing you wanted to change. Greys, black and white never change, because they have no hue. Colours that differ only slightly can come out a step apart after rounding to whole numbers. Transparency is kept. A JPEG is saved again as JPEG at high quality, HEIC comes out as PNG, and the largest image the tool takes is 24 megapixels.

Frequently asked questions

Why does my result look different from CSS hue-rotate()?

CSS hue-rotate() uses a colour matrix that keeps brightness instead of saturation. Red turned 180 degrees with it comes out a dark, dull teal. This tool turns the hue in HSL, so the same red becomes bright cyan, which is what the colour wheel says is its opposite.

Does turning by 360 degrees change anything?

No. 360 degrees is a full turn, so every colour lands where it started. Small rounding to whole numbers aside, turning by 120 and then by 240 also brings the picture back.

Is my image uploaded?

No. It is read, changed and saved inside this browser tab. Nothing is sent to a server.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.