CSS Gradient Generator
Generate CSS gradient code with live preview by simply selecting colors and angles
Features
Preview and Code Update Simultaneously
CSS and appearance change in real-time as you adjust colors and angles
Support for Linear, Radial, and Conic Gradients
Specify angles, shapes, and center positions in detail for each type
Adjust Up to 10 Colors by Dragging
Drag colors along the bar to adjust position and use sliders for transparency
8 Sample Palettes and Random Generation
Start with popular or random color schemes and fine-tune from there
How to Use
Select Type
Choose a gradient type from linear, radial, or conic
Choose Colors
Select colors using color codes or samples, add more colors with "Add Color", and adjust position and transparency
Adjust Direction
For linear gradients, set angle or direction buttons; for radial and conic, specify center position
Copy Code
Click "Copy" to copy the single-line CSS to your stylesheet

Use Cases
Create Hero Image Backgrounds
Set background colors for your site header or buttons without writing code
Choose Blog Heading Colors
Select a sample-like color scheme to style your article heading backgrounds
Photo Overlay Effect
Create a semi-transparent layer over photos by lowering opacity
Multi-Color Gradient Adjustment
Gradually adjust boundary positions between 3 or more colors by dragging
Basic Knowledge
Differences Between linear, radial, and conic
CSS gradients include 3 functions with different color transitions, all written in the background property.
- linear-gradient:linear-gradient creates a linear gradient where color changes along a straight line at a specified angle.
- radial-gradient:radial-gradient creates a circular gradient where color spreads outward from a center point in a circle or ellipse.
- conic-gradient:conic-gradient creates a conic gradient where color changes clockwise around a center point.
Angle and Direction Keyword Correspondence
In linear-gradient, 0deg is upward, and values increase clockwise. You can also use direction keywords like "to right"; 90deg equals "to right" and 180deg equals "to bottom".
Color Stop and Transparency Syntax
A color stop specifies the position where a color appears in the gradient, with 0% being the start and 100% the end. For example, "#3B82F6 0%, #8B5CF6 100%" defines a transition from blue at the start to purple at the end.
- #RRGGBB Format:#RRGGBB format represents colors using 2-digit hexadecimal values for red, green, and blue; #FF0000 is opaque red.
- rgba Format:rgba format combines red, green, and blue values (0-255) with transparency (0-1); 0.5 transparency creates a semi-transparent color.
Safety and Privacy
Runs entirely in your browser
Your input data is processed only within your browser and is never sent externally.
Processing only in your browser
Gradient code generation is processed entirely within your browser, and input data is not sent to any server.
Communications encrypted with HTTPS
Page loading is also encrypted by TLS, and content cannot be read by third parties.
No transmission to third parties
Input content is not sent to external services such as ad networks or trackers.
No automatic saving of results
Selected colors and settings and input suggestions are not stored on the server.
Follow RAKKOTOOLS on Google Search
235 useful tools become easier to find from Google Search and AI Search!
- Found in search
- Also shown in AI Search
- Discover new tools
Updates
- update #314
Added CSS gradient generator to create code by selecting colors and angles
Featured Tools
RAKKOTOOLS is free to use!
Available free of charge for individuals and corporations, commercial and non-commercial use alike.No prior permission or usage application is required. Feel free to use it in various situations.

Use in streaming and videos
Use various tools such as lottery draws and raffles in live streams and videos.

Use in schools, work, and events
Can be used in various situations such as classes, team division, internal work, and events.

Introduction on Web, books, and SNS
Feel free to introduce it as a useful tool on web media, books, SNS, and other platforms.

Commercial use
Can be used for commercial purposes such as research, calculation, processing, and conversion in business and production.
If you mention it, I get motivated to create more tools!


If using in streaming and videos
Link to RAKKOTOOLS in the description, or Mention or display that you are using RAKKOTOOLS in the stream or video.
Credit example for the description
Usage guidelinesYou are free to use it for normal purposes. However, use for purposes that violate laws, infringe on third-party rights, impose significant load on the service, or otherwise interfere with service operation is prohibited.
We do not guarantee the accuracy or completeness of information and calculation results obtained from each tool.
This notice is a translation of the original Japanese text. If there is any discrepancy between the translation and the original, the Japanese original takes precedence.
