Skip to content
Jellykit

Hue Shift

Rotate the colours of an image around the colour wheel by any angle, keeping its brightness and saturation.

  • Runs on your device
  • Works in the background
Loading tool

About Hue Shift

Turn a red jacket green, a blue sky purple, or try a whole range of colourways for a graphic. Every pixel's hue is turned by the angle you choose, from −180° to 180°; its saturation and lightness stay as they were, so the picture keeps its shading and grays stay gray.

A shift of 120° turns the primaries round, red to green, green to blue and blue to red; −120° turns them the other way. Process one image or a whole batch; each keeps its format where your browser can write it.

How it works

  1. Each pixel is converted from RGB to hue, saturation and lightness (HSL).
  2. The hue is turned by your angle and wrapped round the circle; saturation and lightness are left exactly as they were, then the colour is converted back to RGB.
  3. Grays, black and white have no hue and come out unchanged. Transparency is kept.

Questions

Why do some colours look brighter after the shift?

The shift keeps HSL lightness, not perceived brightness. Pure yellow and pure blue have the same HSL lightness but the eye sees yellow as much brighter, so turning blue to yellow makes that area look lighter.

Can I change only one colour?

No. This tool turns every colour by the same angle. To recolour a single object you need a selection, which this tool does not have.

Is 180° the same as inverting?

No. A 180° turn gives each colour its complementary hue but keeps its lightness, so a dark red becomes a dark cyan. Inverting also flips light and dark.

Is there a size limit?

Each file can be up to 200 MB and up to 40 megapixels (about 7,700 × 5,200), or less on browsers whose canvas is smaller, such as Safari on iPhone at about 16.7 megapixels. Larger pictures are refused with a message before any work starts.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.