COLOR #008B42

HEX: #008B42
RGB: (0,139,66)

Color info

#008B42 contains mainly green color. Web safe color of #008B42 is #009933 (or #093).

RGB color model

#008B42 color RGB value is (0,139,66).

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

RGB channels and saturation

R 0 of 255 = 0%
G 139 of 255 = 55%
B 66 of 255 = 26%

0
139
66

R + G + B ~ 27%. #008B42 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
0 + 139 + 66 = 205 (100%)
R 0 of 205 ~ 0%
G 139 of 205 ~ 67.8%
B 66 of 205 ~ 32.2%

%67.8
%32.2

CMYK color model

#008B42 color CMYK value is (100,0,53,45).

  • cyan value is 100.00%
  • magenta value is 0.00%
  • yellow value is 52.52%
  • key color value is 45.49%
CMYK:
(100,0,53,45)
C100M0Y53K45 
(100%,0%,53%,45%)
(1.00/0.00/0.53/0.45)	

CMYK percentages

%100
%0
%52.52
%45.49

Codes

Color #008B42 in popluar color models

008B42
RGB013966
HSL148°100.00%27.25%
HSB/HSV148°100.00%54.51%
CMYK100.00%0.00%52.52%
45.49%

Color #008B42 in popluar number systems.

HEX008B42
Decimal013966
Binary0100010111000010
Octal0213102

Shades and tints

Shades of #008B42

#008B42
(0,139,66)
#007F3C
(0,127,60)
#007336
(0,115,54)
#006730
(0,103,48)
#005B2A
(0,91,42)
#004F24
(0,79,36)
#00431E
(0,67,30)
#003718
(0,55,24)
#002B12
(0,43,18)
#001F0C
(0,31,12)
#001306
(0,19,6)
#000000
(0,0,0)

Tints of #008B42

#008B42
(0,139,66)
#179553
(23,149,83)
#2E9F64
(46,159,100)
#45A975
(69,169,117)
#5CB386
(92,179,134)
#73BD97
(115,189,151)
#8AC7A8
(138,199,168)
#A1D1B9
(161,209,185)
#B8DBCA
(184,219,202)
#CFE5DB
(207,229,219)
#E6EFEC
(230,239,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #008B42; }

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

This text font color is #008B42.


Background Color

.myBgColor { background-color: #008B42; }

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

This div background color is #008B42.


Border color

.myBorderColor { border: 1px solid #008B42; }

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

This div border color is #008B42.


Opacity

.myOpacity80 { color: #008B42; opacity: 0.8; }

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

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

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

This text has shadow with #008B42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #008B42 on black background.


Color preview on white background

This text has color #008B42 on white background.



Black color preview on #008B42 background

This text has black color on #008B42 background.


White color preview on #008B42 background

This text has white color on #008B42 background.