개발 도구

색상 변환기

HEX, RGB, HSL 색상 형식을 변환합니다.

색상 변환기

UtilBrix 제공

입력 내용은 브라우저에 보관됩니다. 계정이 필요하지 않습니다.

자세한 방법과 예시는 영어로 제공됩니다.

Step-by-step instructions (English)

  1. Enter a supported HEX, RGB, RGBA, HSL, or HSLA color.
  2. Set alpha and choose the contrast background appropriate for your design.
  3. Convert and compare the channel values, preview, and contrast result.

공식 및 방법

Parse HEX, RGB(A), or HSL(A) channels and convert between the RGB and HSL models. Complementary color rotates hue 180 degrees. Lighten and darken shift HSL lightness by 10 points. Contrast uses relative luminance after alpha compositing.

실용 예시

White against black has a contrast ratio of 21:1. Normal-size text needs at least 4.5:1 to meet WCAG AA contrast; other accessibility requirements still apply.

When this tool is useful

Move a design color between CSS representations or compare a foreground color against its intended background. The preview is useful for checking whether a converted value still represents the expected color.

Common mistakes and limitations

  • Contrast depends on the background, especially when the foreground is translucent.
  • A passing contrast ratio alone does not establish that an entire interface is accessible.

Practical questions about this tool (English)

Why does alpha change the contrast ratio?

A translucent foreground blends with its background. The tool computes contrast from the composited color, so the same foreground can behave differently on different surfaces.

Are HEX and RGB different colors?

They are different notations for RGB channel values. Equivalent values describe the same color; rounding during conversion can make the displayed numbers look slightly different.

관련 도구

UtilBrix 설치

홈 화면에서 도구를 바로 여세요.

  1. 브라우저 메뉴(⋮)를 여세요.
  2. ‘앱 설치’ 또는 ‘홈 화면에 추가’를 선택하세요.
  3. 확인하여 UtilBrix을 홈 화면에 추가하세요.

옵션이 없으면 Android의 Chrome에서 페이지를 여세요.

도구 검색

↑ ↓ Navigate · Enter Open · Esc Close