Color converter
Convert HEX, RGB, HSL, HSV, and CMYK channels.
Free · Browser-basedFind a fresh blend. Pick two colors and take the CSS with you.
Pick a start color and an end color.
Adjust the angle while checking the live preview.
Generate and copy the CSS background declaration.
Create a two-stop linear gradient with standard CSS. The preview updates as you adjust colors and angle, and the generated declaration is ready to paste into a stylesheet.
This version supports two opaque hex colors and one angle. Color interpolation and appearance can differ slightly by browser and display.
No. The gradient is generated by CSS and scales with your element.
Yes. Adjust the angle from 0 to 360 degrees. CSS uses 0 degrees for upward direction.
This tool runs in your browser. Your input is not uploaded or saved by Saanvi.
Privacy details