HEX uses hexadecimal (#FF0000 for red). RGB uses red/green/blue values 0-255 (rgb(255,0,0)). HSL uses hue (0-360°), saturation (0-100%), and lightness (0-100%). Each format represents the same colors differently.
How do I choose accessible color combinations?▼
Ensure a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (WCAG AA). Use our color picker to compare foreground and background colors. Dark text on light backgrounds or vice versa typically works best.
Keyboard Shortcuts
Ctrl+Enter Run / Format Ctrl+Shift+C Copy output Ctrl+L Clear