HEX: #808000
RGB: (128,128,0)
Color name is Olive. #808000 contains only red and green colors. Web safe color of #808000 is #666600 (or #660).
#808000 color RGB value is (128,128,0).
RGB: (128,128,0)
(50%, 50%, 0%)
R 128 of 255 = 50%
G 128 of 255 = 50%
B 0 of 255 = 0%
R + G + B ~ 33%. #808000 is quite dark color.
R + G + B = 128 + 128 + 0 = 256 (100%)
R 128 of 256 ~ 50%
G 128 of 256 ~ 50%
B 0 of 256 ~ 0'%
#808000 color CMYK value is (0,0,100,50).
CMYK: (0,0,100,50) C0M0Y100K50 (0%,0%,100%,50%) (0.00/0.00/1.00/0.50)
Color #808000 in popluar color models
80 | 80 | 00 | |
---|---|---|---|
RGB | 128 | 128 | 0 |
HSL | 60° | 100.00% | 25.10% |
HSB/HSV | 60° | 100.00% | 50.20% |
CMYK | 0.00% | 0.00% | 100.00% |
49.80% |
Color #808000 in popluar number systems.
HEX | 80 | 80 | 00 |
Decimal | 128 | 128 | 0 |
Binary | 10000000 | 10000000 | 0 |
Octal | 200 | 200 | 0 |
Shades of #808000
Tints of #808000
Examples of css and html codes for elements with #808000 color. Also use rgb(128,128,0) instead hex code.
.myTextColor { color: #808000; }
<p style="color:#808000">This sample text font color is #808000.</p>
This text font color is #808000.
.myBgColor { background-color: #808000; }
<div style="background-color:#808000">Inner text</div>
This div background color is #808000.
.myBorderColor { border: 1px solid #808000; }
<div style="border:3px solid #808000">Div</div>
This div border color is #808000.
.myOpacity80 { color: #808000; opacity: 0.8; }
<p style="color:#808000;opacity:0.8;">80%</p>
Text with #808000 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #808000;}
<p style="text-shadow: 3px 3px 1px #808000">Text here.</p>
This text has shadow with #808000 color.
.textShadow {text-shadow: 3px 3px 1px #808000', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #808000, 5px 5px 20px red">Text here.</p>
This text has shadow with #808000 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#808000, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#808000, Direction=45, Strength=4)">Text</p>
This text has shadow with #808000 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #808000;
-webkit-box-shadow: 1px 1px 3px 2px #808000;
box-shadow: 1px 1px 3px 2px #808000;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #808000; -webkit-box-shadow: 1px 1px 3px 2px #808000; box-shadow:1px 1px 3px 2px #808000;">
Div content here
</div>
This text has color #808000 on black background.
This text has color #808000 on white background.
This text has black color on #808000 background.
This text has white color on #808000 background.