Color #808000

HEX: #808000
RGB: (128,128,0)

Views — 316
Like — 0

Color info

Color name is Olive. #808000 contains only red and green colors. Web safe color of #808000 is #666600 (or #660).


RGB color model

#808000 color RGB value is (128,128,0).

  • red value is 128;
  • green value is 128;
  • blue value is 0.
RGB:
(128,128,0)
(50%,50%,0%)

RGB channels and saturation

R 128 of 255 = 50%
G 128 of 255 = 50%
B 0 of 255 = 0%

128
128
0

R + G + B ~ 33%. #808000 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
128 + 128 + 0 = 256 (100%)

R 128 of 256 ~ 50%
G 128 of 256 ~ 50%
B 0 of 256 ~ 0%

%50
%50

CMYK color model

#808000 color CMYK value is (0,0,100,50).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 100.00%
  • key color value is 49.80%
CMYK:
(0,0,100,50)
C0M0Y100K50 
(0%,0%,100%,50%)
(0.00/0.00/1.00/0.50)	

CMYK percentages

%0
%0
%100
%49.8

Codes

Color #808000 in popluar color models

808000
RGB1281280
HSL60°100.00%25.10%
HSB/HSV60°100.00%50.20%
CMYK0.00%0.00%100.00%
49.80%

Color #808000 in popluar number systems.

HEX808000
Decimal1281280
Binary10000000100000000
Octal2002000

Shades and tints

Shades of #808000

#808000
(128,128,0)
#757500
(117,117,0)
#6A6A00
(106,106,0)
#5F5F00
(95,95,0)
#545400
(84,84,0)
#494900
(73,73,0)
#3E3E00
(62,62,0)
#333300
(51,51,0)
#282800
(40,40,0)
#1D1D00
(29,29,0)
#121200
(18,18,0)
#000000
(0,0,0)

Tints of #808000

#808000
(128,128,0)
#8B8B17
(139,139,23)
#96962E
(150,150,46)
#A1A145
(161,161,69)
#ACAC5C
(172,172,92)
#B7B773
(183,183,115)
#C2C28A
(194,194,138)
#CDCDA1
(205,205,161)
#D8D8B8
(216,216,184)
#E3E3CF
(227,227,207)
#EEEEE6
(238,238,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #808000 color. Also use rgb(128,128,0) instead hex code.

Text Font Color

.myTextColor { color: #808000; }

<p style="color:#808000">This sample text font color is #808000.</p>

This text font color is #808000.


Background Color

.myBgColor { background-color: #808000; }

<div style="background-color:#808000">Inner text</div>

This div background color is #808000.


Border color

.myBorderColor { border: 1px solid #808000; }

<div style="border:3px solid #808000">Div</div>

This div border color is #808000.


Opacity

.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%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.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.


Div box shadow color

/* 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 div box has shadow with color #808000.

Preview

Color preview on black background

This text has color #808000 on black background.


Color preview on white background

This text has color #808000 on white background.



Black color preview on #808000 background

This text has black color on #808000 background.


White color preview on #808000 background

This text has white color on #808000 background.