Hue Shifter
Shift the hue of a color or an image. Type a HEX, RGB, or HSL value or drop a file, set the angle, then copy the result or download it.
HEX, rgb(59, 130, 246), or hsl(217, 91%, 60%)
#3B82F6 · Hue 217°#513BF6 · Hue 247°Drag the dot on the wheel to set the shift.
Values past 180° wrap around the wheel, so 270° is the same as −90°.
+30° gives an analogous color, a neighbor of the original on the wheel.
Turns the hue in HSL. Saturation and lightness stay the same.
#513BF6rgb(81, 59, 246)hsl(247, 91%, 60%)Drop an image here, or choose a file
PNG, JPG, WebP, AVIF, or BMP, up to 30 MB. The image stays in your browser.
You can also paste an image with Ctrl+V or Cmd+V.
Shift hue without touching saturation or lightness
Hue is the part of a color that names it: red, orange, yellow, green, blue, purple. A hue shift turns a color around the color wheel by a set number of degrees. This hue shifter works on a single color or on a whole image, and the result updates as you move the slider.
Change the hue of a color
Type or paste a HEX, RGB, or HSL value, or pick one with the color picker. Then move the slider, drag the dot on the color wheel, or tap a quick angle. The tool shows the original and the shifted color side by side with their hue angles, and you copy the result as HEX, RGB, or HSL.
- Shifts run from -180° to +180°. A larger number wraps around the wheel.
- With the HSL method, saturation and lightness stay the same, so the new color has the same strength and brightness.
- Gray, black, and white have no hue, so they do not change.
Change the hue of an image
Switch to Image, then drop a file or choose one. Every pixel turns by the same angle, so a blue sky can become green or orange while the picture keeps its detail. Transparent areas of a PNG stay transparent.
- Works with PNG, JPG, WebP, AVIF, and BMP files.
- The whole image changes. To recolor one object only, select it in an image editor first.
- Nothing is uploaded. The work happens in your browser.
Pick an angle by the color relationship you want
Some angles give classic color pairs. Use them as a starting point, then adjust by a few degrees until the result fits your design.
| Shift | Relationship | Result |
|---|---|---|
| 30° | Analogous | A neighbor next to the original |
| 90° | Square | A partner at a right angle |
| 120° | Triadic | One of two evenly spaced partners |
| 150° | Split complementary | A color beside the complement |
| 180° | Complementary | The opposite color |
HSL shift or CSS hue-rotate()
The default method turns the hue in HSL, so lightness is kept. The CSS hue-rotate() filter works differently. It multiplies the RGB values by a fixed matrix, and a color can get much darker or lighter after the turn. Pure red turned by 60° becomes yellow with the HSL method and a dark brown with the CSS method. Choose the CSS method when the result must match a filter in a stylesheet, and the HSL method when you want to keep the lightness.
- With the CSS method on, copy filter: hue-rotate(30deg); straight into your CSS.
- Compare both methods on the same color before you decide.
Where a small hue shift helps
Designers and artists use hue shifts for more than recoloring. A shift of 5 to 15 degrees keeps a color in its family and still adds some variety.
- Painters and pixel artists move shadows toward one hue and highlights toward another so shading looks less flat.
- UI designers test accent colors by turning a brand color by 30 degrees.
- Game and product artists recolor a sprite or a photo without redrawing it.
How the hue shifter works
How the hue shift is calculated
The tool converts the color to HSL (hue, saturation, lightness), adds your angle to the hue, and converts the result back to RGB. Saturation and lightness are not touched. A shift of 0° or 360° returns the exact color you entered.
How images are processed
The image is drawn onto a canvas in your browser, and the same calculation runs on every pixel. The alpha channel is left alone, so transparent areas stay transparent. The preview is a smaller copy so the slider stays quick. The download is built from the full image.
Two methods
- HSL: turns the hue and keeps saturation and lightness. This is the default.
- CSS hue-rotate(): applies the color matrix used by the CSS filter of the same name. Use it when the result must match a stylesheet.
Everything runs locally. No color or image is uploaded.
How to shift the hue of a color or image
Add a color or an image
Type or paste a HEX, RGB, or HSL value, or switch to Image and drop a file.
Set the shift
Move the slider, drag the dot on the wheel, or tap a quick angle.
Copy or download
Copy HEX, RGB, or HSL, or download the shifted image as PNG or JPG.
Example Usage
A 180° shift turns this blue into its complementary orange.
Frequently Asked Questions
What is a hue shift?
How do I change the hue of a color?
How do I change the hue of an image online?
What does a 180 degree hue rotation do?
How is this different from CSS hue-rotate()?
Does a hue shift change saturation or lightness?
Why does my black, white, or gray color not change?
Can I shift the hue of one object in a photo?
Can I shift the hue of a GIF?
What angle should I use?
Is my color or image uploaded?
Why is the downloaded image smaller than my original?
Related Tools
Change Color Saturation
Change the saturation of a color
Triad Color Scheme
Get the colors of the triad scheme
Complementary Color
Get the complementary color
Split Complementary Colors
Get the split complementary colors
Analogous Color Scheme
Get the colors of the analogous scheme
Palette from Image
Upload an image to extract its dominant color palette. Get HEX, RGB, and HSL codes.
Comments
Comments are provided by Disqus, which sets cookies and processes data under its own privacy policy.
The Hue Shifter is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

