Image Hue

Rotate the hue of an image by a number of degrees.

Use this tool

Drop a file here, or use the picker. The file type is checked from its contents.

Result

The result appears in this panel after you run the tool.

About this tool

Each pixel is converted to HSL, the hue is moved by the amount you set, and the pixel is written back as RGB. Alpha is unchanged.

The shift is the same number of degrees for every pixel. It is not a selective color edit.

How to use it

  1. Choose an image.
  2. Set the degree amount.
  3. Shift the hue. Saturation and lightness stay with each pixel.

Limitations

A degree shift in HSL, written back as RGB

Hue moves, saturation and lightness stay

Each pixel is converted from RGB to HSL. The amount, in degrees, is added to the hue. Saturation and lightness in that HSL triple are kept, and the pixel is converted back to RGB. Alpha is the original alpha. The amount starts at zero, which is a no-op in the math, though a lossy encode can still change bytes. The control runs from negative 180 to positive 180. A full turn would be 360, which lands on the same hue as zero. Complementary colors sit near 180 degrees of shift. Near-gray pixels have an unstable hue, so a large shift can paint noise into areas that looked neutral. The page does not lock neutrals.

Width and height stay the same. The pass is per pixel on one bitmap, not a selective color range you paint with a brush.

Encoding the shifted RGB

Hue rotation is the sample edit. After that rotation, preserve intent encodes the canvas. Quality begins at 0.92. The number is used for JPEG and WebP. AVIF receives that number only after two settings change how long a probe file is. Hue disables the control for a PNG file, a GIF file, a BMP file, an ICO file, and any HEIC file rewritten into PNG. There is no HEIC encoder on this page. A failed AVIF capability check stores PNG under preserve intent.

GIF output quantizes the shifted colors into a palette of at most 256 entries, so a smooth rainbow gradient can band. BMP output is mostly 24-bit and flattens partial alpha onto white, which matters if you shifted a sticker with soft edges. PNG and WebP and a successful AVIF keep the alpha the HSL step left alone. WebP and AVIF are still new encodes, so the quality value can soften the shifted edges.

Shifting a JPEG more than once

A 30-degree shift followed by another 30-degree shift on the download is not the same file as one 60-degree shift on the original. Each JPEG write quantizes, and the second HSL conversion reads those quantized channels. Hue errors show up as color fringes. Do the whole shift in one pass from the source bitmap. A PNG of the shift holds the converted RGB without a quality argument and is the safer file to nudge again.

Privacy

Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.