What is the HEX code for olive?
The CSS color olive in HEX format is #808000. Use this value directly in CSS, SVG, and most design tools.
How do I use olive in CSS?
To apply olive in CSS:
- Text color: color: #808000;
- Background: background-color: #808000;
- Border: border-color: #808000;
What are all the color format values for olive?
| Format | Value |
|---|---|
| HEX | #808000 |
| RGB | rgb(128, 128, 0) |
| HSL | hsl(60, 100%, 25.1%) |
| CMYK | cmyk(0%, 0%, 100%, 49.8%) |
How do I convert olive to HEX?
Select olive from the color name list in our color converter. The HEX value — #808000 — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does olive belong to?
olive belongs to the yellow color family. It is a dark, vivid color with HSL values: hue 60°, saturation 100%, lightness 25.1%.
How do I create lighter and darker shades of olive?
Lighter variant (lightness 40.1%): #cdcd00. Darker variant (lightness 10.100000000000001%): #343400. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.
What is HEX used for?
HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.