COLOR #008042

HEX: #008042
RGB: (0,128,66)

Color info

#008042 contains mainly green color. Web safe color of #008042 is #006633 (or #063).

RGB color model

#008042 color RGB value is (0,128,66).

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

RGB channels and saturation

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

0
128
66

R + G + B ~ 25%. #008042 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
0 + 128 + 66 = 194 (100%)
R 0 of 194 ~ 0%
G 128 of 194 ~ 65.98%
B 66 of 194 ~ 34.02%

%65.98
%34.02

CMYK color model

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

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

CMYK percentages

%100
%0
%48.44
%49.8

Codes

Color #008042 in popluar color models

008042
RGB012866
HSL151°100.00%25.10%
HSB/HSV151°100.00%50.20%
CMYK100.00%0.00%48.44%
49.80%

Color #008042 in popluar number systems.

HEX008042
Decimal012866
Binary0100000001000010
Octal0200102

Shades and tints

Shades of #008042

#008042
(0,128,66)
#00753C
(0,117,60)
#006A36
(0,106,54)
#005F30
(0,95,48)
#00542A
(0,84,42)
#004924
(0,73,36)
#003E1E
(0,62,30)
#003318
(0,51,24)
#002812
(0,40,18)
#001D0C
(0,29,12)
#001206
(0,18,6)
#000000
(0,0,0)

Tints of #008042

#008042
(0,128,66)
#178B53
(23,139,83)
#2E9664
(46,150,100)
#45A175
(69,161,117)
#5CAC86
(92,172,134)
#73B797
(115,183,151)
#8AC2A8
(138,194,168)
#A1CDB9
(161,205,185)
#B8D8CA
(184,216,202)
#CFE3DB
(207,227,219)
#E6EEEC
(230,238,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #008042; }

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

This text font color is #008042.


Background Color

.myBgColor { background-color: #008042; }

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

This div background color is #008042.


Border color

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

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

This div border color is #008042.


Opacity

.myOpacity80 { color: #008042; opacity: 0.8; }

<p style="color:#008042;opacity:0.8;">80%</p>

Text with #008042 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 #008042;}

<p style="text-shadow: 3px 3px 1px #008042">Text here.</p>

This text has shadow with #008042 color.

.textShadow {text-shadow: 3px 3px 1px #008042, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #008042, 5px 5px 20px red">Text here.</p>

This text has shadow with #008042 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#008042, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#008042, Direction=45, Strength=4)">Text</p>

This text has shadow with #008042 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #008042;
  -webkit-box-shadow:	1px 1px 3px 2px #008042;
  box-shadow:		1px 1px 3px 2px #008042;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #008042;
-webkit-box-shadow: 1px 1px 3px 2px #008042;
box-shadow:1px 1px 3px 2px #008042;">
Div content here</div>
This div box has shadow with color #008042.

Preview

Color preview on black background

This text has color #008042 on black background.


Color preview on white background

This text has color #008042 on white background.



Black color preview on #008042 background

This text has black color on #008042 background.


White color preview on #008042 background

This text has white color on #008042 background.