COLOR #008C2F

HEX: #008C2F
RGB: (0,140,47)

Color info

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

RGB color model

#008C2F color RGB value is (0,140,47).

  • red value is 0;
  • green value is 140;
  • blue value is 47.
RGB:
(0,140,47)
(0%,55%,18%)

RGB channels and saturation

R 0 of 255 = 0%
G 140 of 255 = 55%
B 47 of 255 = 18%

0
140
47

R + G + B ~ 24%. #008C2F is dark color.

Portions of RGB colors in percentages

R + G + B =
0 + 140 + 47 = 187 (100%)
R 0 of 187 ~ 0%
G 140 of 187 ~ 74.87%
B 47 of 187 ~ 25.13%

%74.87
%25.13

CMYK color model

#008C2F color CMYK value is (100,0,66,45).

  • cyan value is 100.00%
  • magenta value is 0.00%
  • yellow value is 66.43%
  • key color value is 45.10%
CMYK:
(100,0,66,45)
C100M0Y66K45 
(100%,0%,66%,45%)
(1.00/0.00/0.66/0.45)	

CMYK percentages

%100
%0
%66.43
%45.1

Codes

Color #008C2F in popluar color models

008C2F
RGB014047
HSL140°100.00%27.45%
HSB/HSV140°100.00%54.90%
CMYK100.00%0.00%66.43%
45.10%

Color #008C2F in popluar number systems.

HEX008C2F
Decimal014047
Binary010001100101111
Octal021457

Shades and tints

Shades of #008C2F

#008C2F
(0,140,47)
#00802B
(0,128,43)
#007427
(0,116,39)
#006823
(0,104,35)
#005C1F
(0,92,31)
#00501B
(0,80,27)
#004417
(0,68,23)
#003813
(0,56,19)
#002C0F
(0,44,15)
#00200B
(0,32,11)
#001407
(0,20,7)
#000000
(0,0,0)

Tints of #008C2F

#008C2F
(0,140,47)
#179641
(23,150,65)
#2EA053
(46,160,83)
#45AA65
(69,170,101)
#5CB477
(92,180,119)
#73BE89
(115,190,137)
#8AC89B
(138,200,155)
#A1D2AD
(161,210,173)
#B8DCBF
(184,220,191)
#CFE6D1
(207,230,209)
#E6F0E3
(230,240,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #008C2F color. Also use rgb(0,140,47) instead hex code.

Text Font Color

.myTextColor { color: #008C2F; }

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

This text font color is #008C2F.


Background Color

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

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

This div background color is #008C2F.


Border color

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

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

This div border color is #008C2F.


Opacity

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

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

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

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

This text has shadow with #008C2F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #008C2F on black background.


Color preview on white background

This text has color #008C2F on white background.



Black color preview on #008C2F background

This text has black color on #008C2F background.


White color preview on #008C2F background

This text has white color on #008C2F background.