Convertitore RGB ↔ Hex

Passa rapidamente tra codici colore RGB e Hex, copia entrambi i valori e guarda l'anteprima in tempo reale.

RGB in Hex

Inserisci i valori rosso, verde e blu (0–255) per ottenere il codice Hex corrispondente.

Ogni canale deve essere un numero intero compreso tra 0 e 255.

Hex in RGB

Incolla un colore Hex a 3 o 6 cifre per visualizzare il valore RGB.

Usa il formato #RRGGBB o #RGB. Le lettere non fanno distinzione tra maiuscole e minuscole.

Perché usare RGB?

RGB esprime i colori come intensità luminose di rosso, verde e blu. È il formato nativo per schermi, LED e per la maggior parte dei software di design.

Quando devi regolare contrasto, accessibilità o gradienti, modificare i singoli canali RGB offre un controllo preciso.

Perché usare Hex?

Hex comprime i tre canali RGB in un codice compatto di sei caratteri, ideale da incollare in CSS, design token e frammenti di codice.

Il formato si scambia facilmente tra gli strumenti e mantiene i colori leggibili per designer e sviluppatori.

Convertire i colori a mano

Segui questi passaggi per passare da RGB a Hex senza calcolatrice.

  • Scrivi ogni canale RGB come numero compreso tra 0 e 255.
  • Dividi il valore per 16: il quoziente è la prima cifra Hex, il resto è la seconda.
  • I valori da 10 a 15 corrispondono alle lettere A–F; unisci le tre coppie per formare #RRGGBB.

Per passare da Hex a RGB, dividi la stringa in coppie, converti ogni coppia dalla base 16 alla base 10 e riutilizza i decimali ottenuti.

What Convertitore RGB ↔ Hex does

Convertitore RGB ↔ Hex is a focused browser tool: Passa rapidamente tra codici colore RGB e Hex, copia entrambi i valori e guarda l'anteprima in tempo reale.

Use the controls on this page for Convertitore RGB ↔ Hex and check the output directly. Review results before using them in documents, code or other important contexts.

Related terms for this tool include rgb in hex, hex in rgb, convertitore colore, convertitore hex and convertitore rgb. These terms are used as orientation only; the visible controls and the entered data define what the tool actually does.

Where Convertitore RGB ↔ Hex helps

  • Use Convertitore RGB ↔ Hex when your task involves rgb in hex and you need a focused result on the page.
  • Use Convertitore RGB ↔ Hex when your task involves hex in rgb and you need a focused result on the page.
  • Use Convertitore RGB ↔ Hex when your task involves convertitore colore and you need a focused result on the page.

Using Convertitore RGB ↔ Hex well

  • Start Convertitore RGB ↔ Hex with the visible inputs and change optional fields after the first result is clear.
  • Check whether the Convertitore RGB ↔ Hex output fits rgb in hex and your current task before copying it.
  • Run Convertitore RGB ↔ Hex again after changing inputs or browser settings before reusing the result.

FAQ

What is Convertitore RGB ↔ Hex best used for?

Convertitore RGB ↔ Hex is useful when you need this specific task handled quickly: Passa rapidamente tra codici colore RGB e Hex, copia entrambi i valori e guarda l'anteprima in tempo reale.

What should I check in Convertitore RGB ↔ Hex before using the result?

Compare the visible output with the labels on the page, especially when your task involves rgb in hex, hex in rgb, convertitore colore, convertitore hex and convertitore rgb.

Why can Convertitore RGB ↔ Hex show an empty or unexpected result?

The most common reasons are missing input, unsupported characters, browser state or changed settings for Convertitore RGB ↔ Hex.