RevealTheme logo

색상 변환기 (HEX/RGB/HSL)

HEX, RGB, HSL 형식 간에 색상을 변환합니다. 색상을 시각적으로 선택하거나 값을 직접 입력하세요.

HEX
#535beb
RGB
rgb(83, 91, 235)
HSL
hsl(237, 79%, 62%)

이 도구 사용 방법

  1. 1

    Click the color swatch to open your operating system's color picker and choose a color visually.

  2. 2

    Or type a 6-digit HEX value (such as #535beb, with or without the leading #) into the text field.

  3. 3

    Read the matching rgb(R, G, B) and hsl(H, S%, L%) strings in the result cards below.

  4. 4

    Copy whichever format you need straight into your CSS or design file.

색상 변환기 (HEX/RGB/HSL)란 무엇인가요?

HEX, RGB, HSL은 같은 색상을 표현하는 세 가지 방식입니다. HEX(#RRGGBB)는 CSS와 디자인 도구에서 가장 흔히 쓰입니다. RGB(rgb(R,G,B))는 각 채널을 수치로 분리합니다. HSL(hsl(H,S%,L%))은 사람에게 더 직관적입니다. 색조(hue)는 색상을, 채도는 강도를, 명도(lightness)는 밝기를 나타냅니다. 팔레트를 디자인할 때는 HSL을 사용하고, 구현 시에는 HEX로 변환하세요.

일반적인 사용 사례

  • Translating a brand HEX code from a style guide into the rgb() values a legacy stylesheet or email template requires.

  • Grabbing the HSL form of a color so you can nudge its lightness or saturation while keeping the same hue for a palette.

  • Checking the exact RGB channels of a color picked from a screenshot or mockup before writing it into CSS.

  • Confirming what a designer's HEX swatch becomes in RGB for a canvas, SVG, or charting library that wants numeric channels.

  • Teaching or learning how hexadecimal color notation maps to decimal RGB and to the HSL model.

  • Quickly sampling a color visually with the picker and reading all three CSS-ready notations at once.

자주 묻는 질문

HEX 대신 HSL은 언제 사용해야 하나요?
디자인할 때 사용하세요. HSL은 명도나 채도를 독립적으로 조정할 수 있게 해줍니다. 이후 코드에서는 HEX로 변환하세요.
OKLCH와 최신 색 공간은 어떤가요?
OKLCH는 지각적으로 균일하며 접근성에 더 유리합니다. CSS Color Level 4에서 지원됩니다(모든 최신 브라우저).

관련 도구