Color Picker
Use Color Picker to choose and convert color precisely — instant and free.
Build a two-colour CSS gradient — pick the colours and the angle, see it live and copy the ready-made CSS. Runs in your browser.
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 ready-to-paste CSS — something like 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. It runs entirely 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 straight into your stylesheet — no hand-writing the syntax.
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 — the syntax extends naturally 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.
Use Color Picker to choose and convert color precisely — instant and free.
Use HEX to RGB Converter to choose and convert color precisely — instant and free.
Use Color Palette Generator to choose and convert color precisely — instant and free.
Use Contrast Checker to choose and convert color precisely — instant and free.
RGB to HEX Converter with copy-ready values for design and front-end work.
HEX to HSL Converter online — accurate color values, palettes and previews in-browser.
It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.