Color Picker
Pick a colour and read it as HEX, RGB, HSL and CMYK.
Build a two-colour CSS gradient: pick the colours and the angle, see it live and copy the CSS. Your browser does the work.
Your browser is preparing the tool. It runs 100% locally.
Choose two colours and an angle and the tool draws a linear gradient between them and gives you the CSS to paste, such as background: linear-gradient(135deg, #2563EB, #06B6D4). The angle is in CSS degrees, where 0 points up and 90 points right, rotating clockwise. It makes a two-colour linear gradient; for radial, conic or multi-stop gradients you would extend the CSS yourself. All of it happens in your browser.
Pick your start and end colours, set the angle, and a live preview shows the gradient while the CSS updates beneath it. Copy the line and paste it into your stylesheet without writing the syntax by hand.
It produces a standard CSS linear gradient between two colours. The angle controls the direction the colours blend across, and the preview lets you tune it until it looks right.
The tool assembles a CSS linear-gradient function from your inputs: the angle in degrees followed by the two colours. It applies that as the background of the preview box and writes the same value into the CSS field for you to copy.
In CSS, the angle sets the direction of the blend: 0 degrees runs the gradient toward the top, 90 toward the right, and so on clockwise. With two colours and no explicit stops, the first sits at the start and the second at the end, blending evenly across.
background: linear-gradient(135deg, #2563EB, #06B6D4);
0deg points up · 90deg points right · clockwise from thereTwo colours, blended across the angle; the first colour starts at one edge and the second ends at the other.
| Type | linear gradient (two colours) |
|---|---|
| Angle | CSS degrees (0 up, 90 right, clockwise) |
| Output | ready-to-copy CSS background |
| Stops | two (start and end), no custom positions |
| Browser support | all modern browsers, no prefix |
| Where it runs | In your browser, nothing uploaded |
It makes a two-colour linear gradient. For a radial gradient (circular) or a conic gradient (around a point), or for three or more colours, edit the CSS it gives you. You extend it by adding more colour stops or changing the function.
The angle follows the CSS convention, which differs from a protractor: 0 degrees points up, not right, and angles increase clockwise. If the direction looks off, nudge the angle by ninety degrees.
It does not set custom colour-stop positions. The two colours sit at the start and end; to make one colour take up more of the gradient, add a percentage to its stop in the CSS.
The output is a single background declaration. Drop it onto an element; for a gradient behind text, make sure the text colour still has enough contrast over both ends.
Colours are whatever the pickers give, in hex. The gradient renders in the browser's standard colour space; very subtle banding can appear on large gradients, which is normal and not a fault of the CSS.
Create a gradient background for a section, card or button.
Build an eye-catching gradient for a page header.
Try colour-and-angle combinations and copy the winner.
See how the syntax and angle map to the result.
Need a radial, conic or multi-stop gradient? Start here and edit the CSS, or use a fuller gradient editor. Want a gradient on text? Combine the gradient with a background-clip technique in your own CSS.
Builds a standard two-colour CSS linear gradient and outputs the ready-to-copy background declaration; it is explicit that the angle follows the CSS convention (0 degrees up, clockwise) and that radial, conic or multi-stop gradients need the CSS to be extended by hand.
Pick a colour and read it as HEX, RGB, HSL and CMYK.
A hex colour split into its red, green and blue numbers.
Analogous, complementary, triadic or monochrome sets from one colour.
Pass or fail for text and background at each WCAG level.
Red, green and blue values packed into a #RRGGBB code.
Read a hex colour as hue, saturation and lightness.
Every conversion happens in your browser. It's free, with no account.