Konverter Warna HEX RGB
Konversi antara HEX, RGB, HSL dan format warna lainnya seketika. Gratis, akurat, tanpa daftar.
#1A2B3C
rgb(26, 43, 60)
hsl(210°, 40%, 17%)
Kalkulator ini memberikan perhitungan instan dan akurat di bidang ini. Masukkan data Anda dan dapatkan hasil segera dengan penjelasan yang jelas. Alat gratis ini bekerja sepenuhnya di browser Anda — tanpa transfer data, tanpa registrasi.
Perhitungan akurat di bidang ini memerlukan pemahaman rumus dan standar yang mendasarinya. Kalkulator kami menerapkan metode yang paling banyak diterima yang direkomendasikan oleh lembaga internasional dan konsensus ilmiah. Hasilnya berguna untuk keuangan pribadi, pemantauan kesehatan, proyek teknis, atau tujuan pendidikan. Alat ini memproses data Anda secara lokal untuk menjaga privasi. Gratis, tanpa registrasi.
Why does the web use hexadecimal colour codes?
Web colours are expressed as hexadecimal (hex) codes because they provide a compact way to represent RGB colour values. Each colour channel (Red, Green, Blue) has 256 possible values (0–255), which maps exactly to two hexadecimal digits (00–FF). So #FF5733 means R=255 (FF), G=87 (57), B=51 (33). The hex format was chosen for HTML in the early 1990s because it is shorter than writing rgb(255, 87, 51) and easier to parse by browsers. Today CSS supports both formats, plus hsl(), oklch() and named colours like tomato or rebeccapurple.
Why designers prefer HSL for colour reasoning
HSL (Hue, Saturation, Lightness) is often preferred by designers because its components map directly to human colour perception. Hue (0–360°) is the colour wheel position: 0°=red, 120°=green, 240°=blue. Saturation (0–100%) controls intensity: 0% is greyscale, 100% is vivid. Lightness (0–100%) controls brightness: 0% is black, 50% is the "pure" colour, 100% is white. To create a lighter variant of a brand colour, simply increase lightness; for a darker variant, decrease it — without needing to decode RGB values. Our converter shows all three representations simultaneously. Pair with our Binary Converter to understand the mathematical foundations of digital colour.
Pertanyaan yang sering diajukan
Related Tools
You Might Also Like