🍋 Developer Tools

Color Code Converter

Convert colors between HEX, RGB, and HSL formats

Free 仅在浏览器中 No sign-up
chars words sentences lines

Type or paste something into the Input box to enable this button.

结果

结果

关于 Color Code Converter

Convert colors between HEX, RGB, and HSL formats instantly. Auto-detects input format and shows all representations with a live color preview.

工作原理

Parses the input color in any supported format (HEX, RGB, HSL), converts to all three representations, and displays a color swatch preview.

分步教程

  1. 1 ['Enter a color in any format: #FF6B35, rgb(255,107,53), or hsl(20,100%,60%)', 'Click Convert to see all representations', 'View the color preview swatch']

提示

  • [
  • '
  • H
  • E
  • X
  • c
  • o
  • l
  • o
  • r
  • s
  • c
  • a
  • n
  • u
  • s
  • e
  • 3
  • -
  • d
  • i
  • g
  • i
  • t
  • s
  • h
  • o
  • r
  • t
  • h
  • a
  • n
  • d
  • (
  • #
  • F
  • 6
  • 0
  • =
  • #
  • F
  • F
  • 6
  • 6
  • 0
  • 0
  • )
  • '
  • ,
  • '
  • H
  • S
  • L
  • i
  • s
  • o
  • f
  • t
  • e
  • n
  • e
  • a
  • s
  • i
  • e
  • r
  • t
  • o
  • r
  • e
  • a
  • s
  • o
  • n
  • a
  • b
  • o
  • u
  • t
  • :
  • H
  • i
  • s
  • t
  • h
  • e
  • h
  • u
  • e
  • a
  • n
  • g
  • l
  • e
  • (
  • 0
  • -
  • 3
  • 6
  • 0
  • )
  • ,
  • S
  • i
  • s
  • s
  • a
  • t
  • u
  • r
  • a
  • t
  • i
  • o
  • n
  • ,
  • L
  • i
  • s
  • l
  • i
  • g
  • h
  • t
  • n
  • e
  • s
  • s
  • '
  • ,
  • '
  • R
  • G
  • B
  • v
  • a
  • l
  • u
  • e
  • s
  • r
  • a
  • n
  • g
  • e
  • f
  • r
  • o
  • m
  • 0
  • t
  • o
  • 2
  • 5
  • 5
  • f
  • o
  • r
  • e
  • a
  • c
  • h
  • c
  • h
  • a
  • n
  • n
  • e
  • l
  • '
  • ]

常见问题