Color | Name | hsl | hex |
---|---|---|---|
Black | (0,0%,0%) | #000000 | |
White | (0,0%,100%) | #FFFFFF | |
Red | (0,100%,50%) | #FF0000 | |
Lime | (120,100%,50%) | #00FF00 | |
Blue | (240,100%,50%) | #0000FF | |
Yellow | (60,100%,50%) | #FFFF00 | |
Cyan | (180,100%,50%) | #00FFFF | |
Magenta | (300,100%,50%) | #FF00FF | |
Silver | (0,0%,75%) | #C0C0C0 | |
Gray | (0,0%,50%) | #808080 | |
Maroon | (0,100%,50%) | #800000 | |
Olive | (60,100%,50%) | #808000 | |
Green | (120,100%,50%) | #008000 | |
Purple | (300,100%,50%) | #800080 | |
Teal | (180,100%,50%) | #008080 | |
Navy | (240,100%,50%) | #000080 |
Color Convertion Tools
The HSL color model represents colors in three components:
Hue (H): The type of color, measured in degrees (0–360).
Saturation (S): The intensity of the color (0%–100%).
Lightness (L): The brightness of the color (0%–100%).
Example: hsl(210, 50%, 40%)
A Hexadecimal (Hex) color code is a six-digit value starting with a #. It is widely used in HTML, CSS, and design tools to represent colors.
Each pair of digits (RR, GG, BB) represents the Red, Green, and Blue components of the color in hexadecimal format.
Converting HSL to Hex is important for multiple reasons:
Our tool is designed to be user-friendly and accurate. Follow these steps:
If you prefer to calculate manually, here’s how:
Example:
HSL describes colors using hue, saturation, and lightness, while Hex encodes them into a 6-digit hexadecimal format for web use.
Yes, you can use a Hex to HSL converter for reverse conversion.
HSL is better for editing and adjusting, while Hex is better for final implementation in web design.
Yes, all major browsers support Hex codes in CSS and HTML.
Yes, if the Hex code has repeating pairs (e.g., #FFFFFF → #FFF).
Hex codes are concise, widely recognized, and compatible across platforms.
No, you can input any valid HSL values for unlimited conversions.
Contact Me ☎️
Discuss A Project Or Just Want To Say Hi?
My Inbox Is Open For All.
Connect with me on Social Media