Color converter
Turn a HEX color into matching RGB and HSL values for your stylesheet.
Color & designBuild a two-color linear gradient and copy its ready-to-use CSS.
Adjust the example inputs, then select Generate gradient.
Create a linear CSS gradient by choosing two endpoint colors and an angle. The preview uses the same CSS string as the output, so you can try a direction and copy it straight into your background declaration.
Choose the start and end colors.
Set the gradient direction from 0 to 360 degrees.
Generate the preview and copy the background CSS.
In a CSS linear gradient, 0 degrees points upward, 90 degrees points right, 180 degrees points down and 270 degrees points left.
No. Text contrast varies along the gradient. Use the contrast checker for the colors behind your text and check the least favorable background area.