Alat Pantone

RGB to HEX

Konversi nilai warna RGB ke kode HEX untuk desain web dan aplikasi digital

Alat penting bagi pengembang dan desainer yang bekerja dengan warna digital

Konverter Warna

RGB Input

255
0 128 255
0
0 128 255
0
0 128 255

Klik contoh warna untuk contoh

HEX Output

#FF0000

HEX Value

Format Tambahan

RGB Value

rgb(255, 0, 0)

HSL Value

hsl(0°, 100%, 50%)

Nilai Desimal

16711680

Penggunaan CSS

color: #FF0000;

Informasi Warna

Merah terang ini merupakan warna primer dalam model RGB. Representasi heksadesimalnya menggunakan nilai maksimum untuk merah (FF) dan nilai minimum untuk hijau dan biru (00).

Contoh Konversi

Merah Cerah

RGB 255, 0, 0
HEX #FF0000
HSL 0°, 100%, 50%

Hutan Hijau

RGB 34, 139, 34
HEX #228B22
HSL 120°, 61%, 34%

Biru Kerajaan

RGB 65, 105, 225
HEX #4169E1
HSL 225°, 73%, 56%

Kuning Sinar Matahari

RGB 255, 215, 0
HEX #FFD700
HSL 50°, 100%, 50%

Ungu Tua

RGB 128, 0, 128
HEX #800080
HSL 300°, 100%, 25%

Abu-abu Muda

RGB 211, 211, 211
HEX #D3D3D3
HSL 0°, 0%, 83%

Alat yang Direkomendasikan

Tentang Alat Ini

Konverter RGB ke HEX ini menyederhanakan proses penerjemahan antara dua format warna digital umum yang digunakan dalam desain web, desain grafis, dan pengembangan.

RGB (Red, Green, Blue) represents colors as combinations of three primary light sources, with each value ranging from 0 to 255. This model is used in digital displays, where light is emitted to create colors.

HEX (Hexadecimal) is a base-16 numbering system that condenses RGB values into a six-character string prefixed with a hash (#). Each pair of characters represents the intensity of red, green, and blue respectively, using values from 00 to FF.

HEX codes are particularly popular in web development because they're more compact than RGB values and easily recognized by all modern browsers. This conversion tool provides accurate translations between these formats, essential for consistent color implementation across digital projects.

Pertanyaan yang Sering Diajukan