WikiPlus

Generator Gradientów CSS

Twórz piękne gradienty CSS z podglądem na żywo. 100% za darmo, działa w przeglądarce.

Przetwarzanie lokalne
Średnio 1.4s
4.8 z 5 — na podstawie 1,247 uzyc

Autor: Sergio Robles — Założyciel

background: linear-gradient(to right, #0011ff, #00d4ff);
Twoje pliki są przetwarzane lokalnie w przeglądarce. Nigdy nie przesyłamy ani nie przechowujemy Twoich danych.

Co to jest Generator Gradientów CSS?

Kreator gradientow CSS WikiPlus tworzy gotowe do wklejenia gradienty CSS. Obsluguje typy linear, radial i conic. Mozesz dodac wiele stop kolorow, ustawic niestandardowe katy i rozmieszczac stopy procentowo. Projektanci testuja tla sekcji glownych i stany przyciskow. Deweloperzy frontend pobieraja klasy kompatybilne z Tailwind i surowe CSS do dowolnego frameworka. Marketerzy wyciagaja gradienty ze zrzutow ekranu rywali za pomoca wbudowanego color pickera. Podglad na zywo aktualizuje sie, gdy przeciagasz stopy kolorow i obracasz kat. Wszystko dziala w Twojej przegladarce. Nieujawnione palety odswiezonej marki i zrzuty ekranu konkurencji pozostaja na Twoim komputerze. Kreator obsluguje niestandardowe katy od 0 do 360 stopni. Stopy mozna rozmieszczac procentowo lub pikselowo. Twarde przejscia tworza wzory paskow. Wyjscie obejmuje surowe CSS do dowolnego frameworka i ciagi klas kompatybilne z Tailwind v3.

Kiedy powinienem użyć tego narzędzia?

  • Zaprojektuj tło sekcji hero dla przeprojektowanej strony docelowej
  • Wygeneruj gradienty hover przycisków pasujące do istniejącej palety marki
  • Prototypuj gradient nagłówka w trybie ciemnym bez otwierania narzędzia do projektowania
  • Zbuduj kolorowe tło karty dla szablonu marketingowego e-mail

Jak wygenerować gradient CSS?

  1. 1Wybierz typ gradientu liniowy lub radialny na górze edytora.
  2. 2Dodaj punkty kolorów klikając na pasku gradientu i wybierając kolory.
  3. 3Dostosuj kąt lub pozycję radialną, aby ukształtować przepływ gradientu.
  4. 4Podgląd wyniku od razu na bloku demonstracyjnym na żywo.
  5. 5Skopiuj wygenerowany CSS background-image do swojego arkusza stylów.

Często zadawane pytania

Jaka jest różnica między gradientem liniowym, radialnym i stożkowym?

Each gradient type defines a different geometric axis along which color transitions occur, and choosing the right one is mostly about matching the shape you want to the CSS function that produces it. A linear gradient progresses along a straight line at a specified angle. The default direction is top to bottom (180 degrees). Setting 90deg produces a left-to-right transition. Diagonal gradients use values like 135deg. Linear gradients are the most versatile and account for the vast majority of production usage — hero backgrounds, button fills, card surfaces, and divider effects. A radial gradient spreads outward from a focal point in an elliptical or circular pattern. The default center-to-edge spread creates a spotlight or glow effect. You can shift the center point to one edge to simulate ambient lighting from a specific direction, or set the shape to circle for a perfectly round spread. Radial gradients work well for glossy button effects, vignette overlays, and soft light sources on dark backgrounds. A conic gradient sweeps color around a center point like the hands of a clock, distributing hue angularly rather than radially. Conic gradients are the right choice for pie charts, color wheels, angular loading indicators, and certain iridescent or stained-glass decorative effects. Hard stops in a conic gradient produce clean pie slice segments with zero blur. All three types share the same CSS gradient syntax family and accept any number of color stops with explicit percentage or pixel positions. Every major browser has supported all three since 2021.

Ile punktów kolorów powinien mieć gradient?

Two color stops cover the majority of production use cases and should be your starting point for almost every gradient. A two-stop gradient is easy to maintain, renders predictably across all display gamuts, and communicates a clear directional intention to the eye. Three stops introduce a mid-tone highlight or shadow that adds depth to hero sections, card headers, and call-to-action buttons without creating visual noise. A common pattern is dark-to-brand-to-light or brand-to-darker-shade-to-brand, which simulates a subtle glossy highlight. Four stops begin to approach the threshold where the gradient reads as a color sequence rather than a smooth transition. This is sometimes intentional — gradient flags, rainbow progress bars, or spectrum visualizations — but in most UI contexts it makes backgrounds feel busy and competes with the content it should frame. Five or more stops almost always indicate that a noise texture, a layered multi-gradient, or an SVG illustration would be a more maintainable and visually stable solution. Banding — the visible stepping between color zones — becomes more pronounced with more stops on standard sRGB panels, because the display simply cannot produce enough intermediate shades. The WikiPlus builder lets you add up to six stops. Beyond that, consider stacking two gradient layers using the CSS multiple background shorthand: background: linear-gradient(...), linear-gradient(...). Each layer can handle a simpler transition, and together they compose the complex appearance you need. A practical tip: always test your gradient on a low-end display or a simulated 6-bit panel to check for banding before publishing.

Dlaczego moje gradienty CSS wyglądają na pasmowane na niektórych ekranach?

Banding occurs when the display lacks enough addressable shades between two color stops to render the transition continuously. A standard 8-bit-per-channel LCD panel can show 256 steps per channel, and a well-designed two-stop gradient spanning the full lightness range fills those steps smoothly. Problems arise in two scenarios. The first is low-contrast stops: if both stops are very similar in value — for example, two shades of off-white separated by only 15 % lightness — the number of usable steps shrinks dramatically and the resulting staircase becomes visible. The second is 6-bit panels with dithering: many budget laptops, older external monitors, and most tablet screens use 6-bit panels that simulate 8-bit through temporal or spatial dithering. On still gradients the dithering pattern can look like film grain or a banding artifact. Several techniques reduce or eliminate banding. Adding a third stop at the midpoint breaks the transition into two shorter segments, each with more addressable steps. Adding a subtle noise texture overlay at 3–5 % opacity with CSS filter: url(#noise) or a PNG overlay masks the stepping entirely — this is the technique used by most professional design systems. Using the oklch() color space for gradient stops often eliminates banding that occurs with hex or rgb stops because oklch interpolation follows the perceptual brightness curve rather than a linear RGB ramp. Finally, increase the contrast between your stops — even 5 more lightness points often resolves visible banding on mid-range panels.

Czy mogę wyeksportować gradienty jako PNG lub SVG?

The WikiPlus CSS Gradient Generator outputs ready-to-paste CSS code as its primary export format, and this is intentional rather than a limitation. CSS is the most efficient and maintainable format for gradients used in web projects. A single one-line background-image declaration renders at any resolution, at any device pixel ratio, on any screen size, with zero file size overhead and no HTTP request. For use cases where a raster image is genuinely needed — an Open Graph image, an email template background, a PDF export, a social card, or a print asset — take a screenshot of the live preview panel. Most operating systems include a screenshot tool that can crop to a specific region: Snipping Tool on Windows, Command+Shift+4 on macOS. For precise pixel dimensions, paste the CSS into a CodePen or a local HTML file, set the element to the exact pixel size you need, and screenshot it. For SVG export, be aware that SVG gradients use linearGradient and radialGradient elements with a different coordinate and syntax model than CSS. They do not map one-to-one, and auto-converting CSS gradient syntax to SVG gradient markup introduces coordinate-system ambiguity. If you need a scalable vector asset with a gradient fill, it is faster to draw a shape in Figma or Illustrator and apply the gradient there. The CSS output from WikiPlus can serve as your color reference when configuring the gradient in those tools. A practical tip: Figma accepts hex stop values from the CSS output directly into its fill stops.

Tresc tej strony jest dostepna na licencji CC BY 4.0.