Border radius controls the roundness of element corners. Different radius values create different design feels: from sharp and professional to soft and friendly.
Adjust each corner independently using the sliders. The preview updates in real time. Copy the CSS code for your project.
Frequently Asked Questions
Q: Can I set different radii for each corner?
Can I set different radii for each corner? Yes, use the format: border-radius: top-left top-right bottom-right bottom-left.
Q: What is the best border radius for a card?
What is the best border radius for a card? 12-16px is the sweet spot for cards in most modern designs.
Q: What border radius values should I use for different elements?
What border radius values should I use for different elements? Cards typically use 8-16px, buttons 4-8px, modals 12-20px, and avatars 50% for circles. Use larger values on bigger elements for proportional consistency.
Q: How do I create a pill-shaped button?
How do I create a pill-shaped button? Set the border-radius to a very large value like 999px. The browser will cap it at half the element height, automatically creating a pill shape regardless of button size.
Q: Can I apply different radii to each corner?
Can I apply different radii to each corner? Yes, the four individual corner controls let you set unique values for top-left, top-right, bottom-right, and bottom-left. This is useful for directional design elements.
CSS Named Colors & Color Psychology
The web has 148 named colors built into CSS, from Coral to Goldenrod. Beyond the code, color psychology shapes how users feel about interfaces — warm tones energize, cool tones calm, and neutrals build trust. This palette mixes CSS classics with the psychology behind them.
Coral #FF7F50Warm and friendly — popular for CTAs in lifestyle brands
Tomato #FF6347Energetic red-orange, great for urgent accents
Goldenrod #DAA520Earthy gold associated with quality and heritage
Teal #008080Balanced blue-green — calm, trustworthy, professional
Indigo #4B0082Deep violet tied to wisdom and premium brands
Crimson #DC143CBold red for passion, alerts, and strong emphasis
SlateBlue #6A5ACDSoft purple-blue common in SaaS dashboards
ForestGreen #228B22Nature and growth — the color of eco and finance brands
HotPink #FF69B4Playful and bold, the signature of youth-oriented design
Navy #000080Authority and stability — the suit-and-tie of colors
Q: What are CSS named colors?
What are CSS named colors? CSS defines 148 named colors like Coral and Goldenrod that work in any stylesheet without hex codes. They are great for prototyping but designers usually switch to hex or HSL for precise brand colors.
Q: How does color psychology affect design?
How does color psychology affect design? Warm colors (red, orange, yellow) create energy and urgency; cool colors (blue, green, teal) create calm and trust. CTAs often use warm tones while financial and health brands prefer blues and greens.