CSS Renklerini ve Birimlerini Anlama
HEX, RGB ve HSL Renk Formatları
CSS birçok renk formatını destekler.
<strong>RGB</strong> her kanal için 0-255 arası değerler kullanır.
<strong>HSL</strong> tasarımcılar için en sezgisel olanıdır.
CSS Named Colors
CSS provides 147 named colors like coral, steelblue, and rebeccapurple. While convenient for prototyping, named colors offer limited precision. Converting a CSS color name to HEX or RGB gives you exact values you can fine-tune for production use.
Baskı tasarımı için CMYK
<strong>CMYK</strong> baskı için standart renk modelidir.
Tasarım araçlarında HSV
<strong>HSV</strong>, Photoshop, Figma ve Sketch'in yerel renk modelidir.
PX vs REM: CSS Birimleri
<strong>Piksel (PX)</strong> mutlak birimlerdir.
Pikselleri 16'ya bölün.
<strong>EM birimleri</strong> kök değil, üst öğenin yazı tipi boyutuna görelidir.
- 1rem = 16px (default browser setting)
- 1em = parent font-size (context-dependent)
- 0.75rem = 12px — common for small/caption text
- 1.25rem = 20px — common for subheadings
- 2rem = 32px — common for section headings
Neden CSS dönüştürücüler?
Manuel dönüştürme sıkıcı ve hata yapmaya açıktır.
- Instant results — paste a value and get the converted output immediately, no formulas needed.
- Copy-ready output — every result includes a one-click copy button with properly formatted CSS syntax.
- Color preview — see a live swatch of the converted color to visually confirm accuracy.
- No installation — works in any browser, on any device. No extensions, downloads, or signups.
- Developer-friendly — shareable URLs with pre-filled values for easy team collaboration.
Common CSS Conversion Workflows
- Design handoff: Figma and Sketch export colors as HEX. Convert to RGB or HSL if your codebase uses those formats.
- Dark mode generation: Take your light-mode HSL palette, adjust lightness values, and convert back to HEX.
- Accessibility checks: Convert colors to RGB to calculate contrast ratios using the WCAG luminance formula.
- Legacy migration: Convert pixel-based layouts to rem-based responsive systems during refactors.
- Cross-browser debugging: Quickly convert colors to match your source code format.
Supported Conversions
| From |
To |
Category |
| HEX | RGB, HSL, RGBA, CSS Name | Color |
| RGB | HEX, HSL | Color |
| HSL | HEX, RGB | Color |
| RGBA | HEX | Color |
| CSS Name | HEX, RGB, HSL | Color |
| PX | REM | Unit |
| REM | PX | Unit |