01
Choose both colors
Enter each opaque sRGB HEX color or choose it with the native browser picker.
Create and copy a two-color linear CSS gradient from explicit sRGB colors and a degree angle.
0° points upward, 90° points right, 180° points downward, and 270° points left. This focused version creates a two-color linear gradient only.
background: linear-gradient(135deg, #2463EB, #E8562D);Data handling
Advertising and analytics are separate site services. We do not send selected tool input to them. Read the Privacy Policy for details.
How it works
01
Enter each opaque sRGB HEX color or choose it with the native browser picker.
02
Choose a whole-number degree angle and review the visible gradient.
03
Copy the explicit CSS background value into a stylesheet or component.
Clear limit
This tool creates one two-color linear CSS gradient. It does not add color stops, radial or conic gradients, transparency, browser fallbacks, contrast checks, or design-token management.
Short and long HEX colors become explicit uppercase six-digit values.
The preview updates from the stated degree angle.
The result is an explicit linear-gradient value, ready for review.
Color choices and generated CSS stay in the current browser tab.
Keep working
Convert one opaque sRGB color between normalized HEX, RGB, and HSL values locally.
Open tool →Calculate the WCAG contrast ratio between two hexadecimal colors and check text-size thresholds.
Open tool →Turn one image into common favicon, Apple touch, Android icon, manifest, and HTML snippet files.
Open tool →Encode HTML-sensitive characters or decode named and numeric character references locally as plain text.
Open tool →