Color Palette Generator

Generate harmonious color palettes or extract dominant colors from an image. Copy HEX and RGB values and export CSS variables.

How to Use Color Palette Generator

  1. Choose the harmony generator or the image extractor mode.
  2. Pick a base HEX color and a harmony type, or upload a PNG, JPG, or WebP image up to 10 MB.
  3. Click a color card to copy its HEX or RGB value.
  4. Export the palette as CSS custom properties.

How color extraction works

The extractor samples pixels from the uploaded image and groups similar colors into a compact palette. Each swatch is shown with hexadecimal and RGB values so you can move it into CSS, a design file, or a brand reference. Sampling skips pixels instead of reading every byte, which keeps the analysis fast on large photos.

Results depend on the source. Logos, charts, and flat illustrations produce clean palettes, while photos with gradients and shadows produce several close shades. Crop the image to the area that matters if you want a tighter palette. The image is decoded in your browser and is not uploaded.

How Your Files Are Handled

This tool runs in your browser. The selected image is processed locally and is not uploaded to 93Tool.

Color Palette Generator FAQ

What image formats are supported for color extraction?

The extractor accepts PNG, JPG, JPEG, and WebP images up to 10 MB.

Are my uploaded images stored on a server?

No. Color extraction uses a canvas in your browser, so the image is not uploaded to 93Tool.

Can I copy HSL values?

The interface provides copy controls for HEX and RGB values. HSL is used internally to build harmonies but is not shown as a copyable value.

Related Online Tools

  • QR Code Generator - Create PNG QR codes for links, Wi-Fi, email, phone, SMS, or contacts.
  • Image Resizer - Resize JPG, PNG, and WebP images to exact pixel dimensions in your browser.
  • Image Compressor - Compress JPG, PNG, and WebP images to a target file size in your browser.
  • Image Cropper - Crop and rotate JPG, PNG, and WebP images with preset aspect ratios.