Color Converter & Color Code Converter
Convert between HEX, RGB, HSL, CMYK, and color names. Perfect for web designers, graphic designers, and developers.
Understanding Color Formats (Complete Guide)
Color codes come in multiple formats for different use cases. Web designers use HEX and RGB. Print designers use CMYK. UI/UX designers prefer HSL for intuitive adjustments. Understanding each format helps you work across different tools and platforms.
6-digit code representing RGB values. Format: #RRGGBB. Each pair (00-FF) represents Red, Green, Blue intensity. #FF5733 = Red:255, Green:87, Blue:51. Most common in web development and CSS.
#FF5733, #000000, #FFFFFF
Values 0-255 for each channel. rgb(255,87,51). Used in CSS, digital displays, and image editing. Additive color model — mixing light creates colors.
rgb(255,87,51), rgb(0,0,0), rgb(255,255,255)
RGB with transparency. Alpha 0 (transparent) to 1 (opaque). rgba(255,87,51,0.5) is 50% transparent. Essential for overlays, shadows, and gradients.
rgba(255,87,51,0.5)
Hue 0-360° (color wheel), Saturation 0-100% (color intensity), Lightness 0-100% (brightness). Most intuitive for humans. hsl(9,100%,60%).
hsl(9,100%,60%)
Values 0-100% for print design. cmyk(0%,66%,80%,0%). Subtractive color model — used in printers and publishing.
cmyk(0%,66%,80%,0%)
CSS named colors: red, blue, green, coral, tomato, rebeccapurple. 140+ standard names. Easy to remember but limited palette.
red, coral, tomato, rebeccapurple
Color Harmonies & Color Theory
Colors opposite on color wheel (180° apart). Creates high contrast and vibrant look. Example: Red (#FF0000) and Cyan (#00FFFF). Use for buttons, alerts, and calls-to-action.
Colors adjacent on color wheel (30° apart). Creates harmonious, serene designs. Example: Blue, Blue-Green, Green. Use for gradients, backgrounds, and brand palettes.
Three colors evenly spaced (120° apart). Balanced, vibrant palette. Example: Red, Yellow, Blue. Use for colorful, energetic designs.
Same hue, different saturation/lightness. Creates cohesive, professional designs. Use for UI themes, dashboards, and corporate websites.
12 Costly Color Conversion Mistakes
"FF5733" is ambiguous. Always include # for HEX: "#FF5733". Some parsers accept without, but standard requires #.
rgb(300,100,50) invalid — max 255 per channel. Values above clamp to 255. Use proper 0-255 range.