Conversor de Cores HEX RGB

Converta entre HEX, RGB, HSL e outros formatos de cor instantaneamente. Gratuito, preciso, sem cadastro.

Resultados instantâneos📱 Compatível com celular🌍 15 idiomas

#1A2B3C

rgb(26, 43, 60)

hsl(210°, 40%, 17%)

Red
Green
Blue

Esta calculadora fornece cálculos instantâneos e precisos nesta área. Insira seus dados e obtenha resultados imediatamente com explicação clara. Esta ferramenta gratuita funciona completamente no seu navegador — sem transferência de dados, sem cadastro necessário.

Cálculos precisos nesta área requerem compreensão das fórmulas e padrões subjacentes. Nossa calculadora aplica os métodos mais amplamente aceitos recomendados por instituições internacionais e consenso científico. Os resultados são úteis para finanças pessoais, monitoramento de saúde, projetos técnicos ou objetivos educacionais. A ferramenta processa seus dados localmente para manter a privacidade. Gratuito, sem cadastro.

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.

Perguntas frequentes