Pular para o conteúdo
Toolza

Esta página ainda não foi traduzida para o seu idioma, por isso parte do texto aparece em inglês.

Color Converter

Convert any color between HEX, RGB, HSL, HSV and CMYK. Edit any value, or use the picker, and every other format updates instantly.

Seus arquivos ficam no seu aparelho. Nada do que você digita aqui é enviado para nossos servidores.

Como usar: Conversor de cores

  1. 1Pick a color visually, or type a value in any format such as #3b82f6 or rgb(59, 130, 246).
  2. 2Watch the other formats update automatically.
  3. 3Check the contrast ratio against white and black text.
  4. 4Copy the CSS value you need.

Principais recursos

Each color model describes the same color in a different way. HEX and RGB specify the amounts of red, green and blue light and are the everyday language of web design. HSL and HSV describe color more like people think about it, as a hue plus how vivid and how light it is, which makes them ideal for building palettes. CMYK describes the cyan, magenta, yellow and black inks a printer would use.

The contrast ratio helps you choose text colors that everyone can read, including people with low vision. A brand color that looks great as a button may still fail with white text on top. Checking against both white and black shows at a glance which one works better on your color.

A practical workflow: pick your base color, switch to HSL, then change only the lightness to create hover states, borders and backgrounds that clearly belong to the same family. Copy each HEX or HSL value into your stylesheet.

Perguntas frequentes

Both describe color by hue and saturation, but HSL uses lightness (0% is black, 100% is white, 50% is the pure color), while HSV uses value or brightness (100% is the pure color at full brightness). Design tools like Photoshop often use HSV/HSB; CSS uses HSL.

Screens mix light (RGB) and printers mix ink (CMYK), and they can't reproduce exactly the same range of colors. The CMYK values here are a mathematical conversion; for professional printing, use the color profile your print shop provides.

WCAG asks for at least 4.5:1 for normal body text and 3:1 for large text (AA level). For AAA, the targets are 7:1 and 4.5:1.

No. All conversions and contrast calculations happen in your browser.

Any of HEX, RGB and HSL works in all browsers. HEX is compact; HSL is easiest when you want to create lighter or darker variations of the same hue.