Color Picker Online
Pick any color and instantly get HEX, RGB, HSL and CMYK codes — plus palettes, harmonies and export-ready CSS.
🎨 Pick a Color
🕒 Color History
👁️ Selected Color
🔆 Lighter / Darker
🌈 Color Harmony
🎭 Palette Generator
💻 Export Code
Related Tools
Getting the right color code shouldn’t slow down your workflow. Whether you’re building a website, designing a UI, or putting together brand guidelines, this tool gives you the exact values you need — HEX, RGB, HSL, and CMYK — the moment you pick a color.
No Photoshop, no Figma, no plugins. Pick a color, copy the code, move on.
What This Color Picker Does
Most online color pickers give you a HEX code and stop there. This one goes further. Pick any color from the wheel or type in a known value, and you immediately get:
- HEX — the standard format for web and CSS (
#ff6600) - RGB — red, green, blue values for screen design (
rgb(255, 102, 0)) - HSL — hue, saturation, lightness — the most intuitive format for making adjustments (
hsl(24, 100%, 50%)) - CMYK — approximate print values for branding and design handoffs
On top of that, the tool generates shades and tints of your chosen color, produces multiple color harmony schemes, and exports ready-to-paste code for CSS, Tailwind, Bootstrap, and SCSS — all from a single pick.
How to Use the Color Picker
Pick from the wheel — Click anywhere on the hexagon color wheel to select a hue. Drag to fine-tune. The values update live.
Enter a known code — If you already have a HEX value like #3B82F6, type it directly into the input box and the picker jumps to that color.
Use the HTML5 picker — Click the native color input for a system-level picker. On some devices this is faster than the wheel for precise color selection.
Copy any format — Each value (HEX, RGB, HSL, CMYK) has its own copy button. One click and it’s on your clipboard.
Check contrast — The preview shows how your color reads with both black and white text so you can check legibility before using it in production.
Color Formats Explained
Understanding which format to use where saves time and avoids conversion errors.
HEX is the default for web design. It’s compact (#ff6600), widely supported across all browsers, and the format most CSS frameworks expect. The six characters represent red, green, and blue channels in hexadecimal — each pair ranges from 00 (none) to FF (full intensity). There are exactly 16,777,216 possible HEX colors.
RGB (rgb(255, 102, 0)) is more readable for developers working programmatically. It maps directly to how monitors mix red, green, and blue light. Use RGB when you need to manipulate color values in JavaScript or when working with CSS rgba() for transparency.
HSL (hsl(24, 100%, 50%)) is the most human-friendly format for designers. Hue is the color type (0–360 degrees on the wheel), Saturation controls intensity, and Lightness controls brightness. Adjusting lightness by 10% gives you a predictable result — something that’s not obvious from a HEX code. Modern CSS supports HSL natively, and it’s ideal for building design systems with consistent tonal variations.
CMYK values are approximate conversions for print work. Screen colors and print colors work differently — CMYK is a subtractive model used in physical printing. The values here give you a starting point for design handoffs to print vendors, though final print proofing should always be done with proper color management tools.
Color Harmony — Building Palettes from a Single Color
Picking one color is the easy part. Choosing the colors that work with it is where most people get stuck. The harmony tab takes the guesswork out of it by applying established color theory rules:
Complementary — The color directly opposite your chosen hue on the wheel. High contrast, great for CTAs and accent elements. If your primary is a warm orange, its complement is a cool blue.
Analogous — Colors sitting adjacent to yours on the wheel. They feel natural together — low contrast, harmonious, calm. Good for backgrounds and supporting elements that shouldn’t compete with the main color.
Triadic — Three colors evenly spaced around the wheel. More dynamic than analogous, less harsh than complementary. Works well for illustrations and playful brand palettes.
Monochromatic — Variations of a single hue at different saturation and lightness levels. The safest approach for minimalist interfaces and professional layouts where visual noise needs to stay low.
Split Complementary — A softer alternative to pure complementary. Instead of the exact opposite color, you get the two colors adjacent to it. More variety without the high contrast tension.
Tetradic — Four colors forming a rectangle on the wheel. Rich palettes, but requires careful balance — one color usually needs to dominate and the others serve as accents.
Export Code for Developers
After picking your color and generating a palette, the Export tab produces ready-to-use code:
CSS Variables — Outputs a :root {} block with --primary-color, --primary-dark, and --primary-light variables. Paste directly into your stylesheet.
Tailwind CSS — Generates a colors object for your tailwind.config.js file. Useful when you’re working with a custom brand color that isn’t in Tailwind’s default palette.
Bootstrap SCSS — Outputs $variable: value; declarations for Bootstrap’s SCSS customization layer.
SCSS Variables — Generic SCSS format for any project using Sass or SCSS preprocessing.
