Free Online Tool

Tạo Gradient CSS - Công Cụ Thiết Kế Chuyển Màu

Tạo gradient CSS tuyệt đẹp với trình chỉnh sửa trực quan. Gradient tuyến tính, xuyên tâm và hình nón. Xuất ra CSS, Tailwind. Công cụ miễn phí.

Pixeliro Logo
linear-gradient(135deg, #6366F1 0%, #EC4899 100%)
Press Space to generate

Gradient Settings

Type
Fixed Color Stops

Randomize will generate 2-4 color stops

Angle
135°
Presets
Color Stops
0%
100%

Common Uses of Gradients in UI and Graphic Design

Learn how to apply CSS gradients in real-world design scenarios

UI Background

Hero sections, landing pages, and app backgrounds

Hero Background

Perfect for hero sections, landing pages, and full-screen app backgrounds. Creates visual depth and modern aesthetic.

CSS
background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);

Button Gradients

Call-to-action buttons with eye-catching gradients

Gradient buttons attract attention and improve click-through rates. Ideal for CTAs, sign-up buttons, and primary actions.

CSS
background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);

Text Gradients

Eye-catching gradient text for headlines

Gradient Text

Gradient text makes headlines pop. Works great for hero titles, feature names, and brand statements.

CSS
background-image: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;

Card / Surface Gradients

Subtle gradients for cards and UI surfaces

Feature Card

Subtle gradient background

Subtle gradients add depth to cards without overwhelming. Perfect for feature cards, testimonials, and pricing tables.

CSS
background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);

Border Gradients

Gradient borders for modern UI elements

Gradient Border Card

Stand out with colorful borders

Gradient borders make elements stand out. Great for input fields, cards, and featured content sections.

CSS
.gradient-border {
  background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  padding: 2px;
  border-radius: 12px;
}
.gradient-border > div {
  background: var(--bg-surface);
  border-radius: 10px;
}

Key Features

Powerful features designed for designers and developers

Nhiều Loại Gradient

Tạo gradient tuyến tính, xuyên tâm và hình nón với đầy đủ kiểm soát hướng, vị trí.

Điểm Màu Trực Quan

Thêm, xóa và kéo điểm màu trên thanh trực quan. Xem thay đổi theo thời gian thực.

Xuất Mã CSS

Sao chép mã CSS sạch, tương thích đa trình duyệt. Bao gồm màu fallback.

Tích Hợp Tailwind

Xuất gradient dạng class Tailwind CSS hoặc config để tích hợp liền mạch.

Bộ Sưu Tập Mẫu

Duyệt các gradient đẹp có sẵn. Một click để sử dụng làm điểm bắt đầu.

Xuất Hình Ảnh

Tải gradient dạng PNG hoặc SVG để dùng trong công cụ thiết kế hoặc in ấn.

How It Works

Get started in just a few simple steps

  1. 1

    Chọn Loại Gradient

    Chọn gradient tuyến tính, xuyên tâm hoặc hình nón. Mỗi loại có hiệu ứng khác nhau.

  2. 2

    Thêm Điểm Màu

    Nhấn vào thanh gradient để thêm điểm màu. Kéo để điều chỉnh vị trí.

  3. 3

    Điều Chỉnh Hướng & Góc

    Với gradient tuyến tính, đặt góc. Với xuyên tâm, chọn tâm và hình dạng.

  4. 4

    Tinh Chỉnh Màu

    Nhấn điểm màu để chọn màu chính xác. Điều chỉnh độ trong suốt.

  5. Xuất Gradient

    Sao chép mã CSS, xuất Tailwind config, hoặc tải xuống dạng hình ảnh.

Frequently Asked Questions

Everything you need to know

Tôi có thể tạo những loại gradient nào?

Bạn có thể tạo gradient tuyến tính, xuyên tâm và hình nón. Mỗi loại tạo hiệu ứng chuyển màu khác nhau.

Làm sao để thêm nhiều màu vào gradient?

Nhấn vào bất kỳ đâu trên thanh gradient để thêm điểm màu mới. Kéo các điểm để điều chỉnh vị trí.

Có thể xuất gradient dạng hình ảnh không?

Có! Bạn có thể tải gradient dạng PNG hoặc SVG. Hữu ích cho công cụ thiết kế hoặc thuyết trình.

CSS có tương thích đa trình duyệt không?

Có, CSS được tạo bao gồm vendor prefixes và màu fallback cho tương thích tối đa.

Có thể lưu gradient để dùng sau không?

Có! Tạo tài khoản miễn phí để lưu không giới hạn gradient vào workspace.

Làm sao tạo gradient trong suốt?

Nhấn vào điểm màu và điều chỉnh thanh opacity. Tạo gradient từ màu đặc sang trong suốt.

Ready to Get Started?

Tạo Gradient CSS - Công Cụ Thiết Kế Chuyển Màu - Free, no signup required

Khởi Động Công Cụ