Random Color Generator
Generate random HEX colours and inspect matching RGB and HSL values.
Generate a two-colour CSS linear gradient from HEX colours and an angle.
Build the CSS declaration for a two-colour linear gradient. Choose both endpoint colours and the angle, then use the preview to see the direction of the transition.
Example: Choose #152d3b, #d8bc83 and 135° to produce background: linear-gradient(135deg, #152d3b, #d8bc83);
How it works: The output is background: linear-gradient(angledeg, firstColour, secondColour); using the two selected six-digit HEX colours. This creates CSS, not a raster image file.
The output is a CSS declaration for a two-stop linear gradient, not a downloadable raster image. The angle follows CSS gradient direction.
Using #000000, #ffffff and 90° gives background: linear-gradient(90deg, #000000, #ffffff);, a black-to-white horizontal gradient.
Guidance updated . Methods and corrections
References: developer.mozilla.org
Your calculation values and selected files are not stored. Recent and saved tools keep tool identifiers; your market preference keeps only its country code in this browser.
Use the grouped tool selector above the form. Each tool has its own URL, and your browser’s Back button returns to the previous tool.