COLOR #0C8E42

HEX: #0C8E42
RGB: (12,142,66)

Color info

#0C8E42 contains mainly green color. Web safe color of #0C8E42 is #009933 (or #093).

RGB color model

#0C8E42 color RGB value is (12,142,66).

  • red value is 12;
  • green value is 142;
  • blue value is 66.
RGB:
(12,142,66)
(5%,56%,26%)

RGB channels and saturation

R 12 of 255 = 5%
G 142 of 255 = 56%
B 66 of 255 = 26%

12
142
66

R + G + B ~ 29%. #0C8E42 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 142 + 66 = 220 (100%)
R 12 of 220 ~ 5.45%
G 142 of 220 ~ 64.55%
B 66 of 220 ~ 30%

%64.55
%30

CMYK color model

#0C8E42 color CMYK value is (92,0,54,44).

  • cyan value is 91.55%
  • magenta value is 0.00%
  • yellow value is 53.52%
  • key color value is 44.31%
CMYK:
(92,0,54,44)
C92M0Y54K44 
(92%,0%,54%,44%)
(0.92/0.00/0.54/0.44)	

CMYK percentages

%91.55
%0
%53.52
%44.31

Codes

Color #0C8E42 in popluar color models

0C8E42
RGB1214266
HSL145°84.42%30.20%
HSB/HSV145°91.55%55.69%
CMYK91.55%0.00%53.52%
44.31%

Color #0C8E42 in popluar number systems.

HEX0C8E42
Decimal1214266
Binary1100100011101000010
Octal14216102

Shades and tints

Shades of #0C8E42

#0C8E42
(12,142,66)
#0B823C
(11,130,60)
#0A7636
(10,118,54)
#096A30
(9,106,48)
#085E2A
(8,94,42)
#075224
(7,82,36)
#06461E
(6,70,30)
#053A18
(5,58,24)
#042E12
(4,46,18)
#03220C
(3,34,12)
#021606
(2,22,6)
#000000
(0,0,0)

Tints of #0C8E42

#0C8E42
(12,142,66)
#229853
(34,152,83)
#38A264
(56,162,100)
#4EAC75
(78,172,117)
#64B686
(100,182,134)
#7AC097
(122,192,151)
#90CAA8
(144,202,168)
#A6D4B9
(166,212,185)
#BCDECA
(188,222,202)
#D2E8DB
(210,232,219)
#E8F2EC
(232,242,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C8E42; }

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

This text font color is #0C8E42.


Background Color

.myBgColor { background-color: #0C8E42; }

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

This div background color is #0C8E42.


Border color

.myBorderColor { border: 1px solid #0C8E42; }

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

This div border color is #0C8E42.


Opacity

.myOpacity80 { color: #0C8E42; opacity: 0.8; }

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

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

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

This text has shadow with #0C8E42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C8E42 on black background.


Color preview on white background

This text has color #0C8E42 on white background.



Black color preview on #0C8E42 background

This text has black color on #0C8E42 background.


White color preview on #0C8E42 background

This text has white color on #0C8E42 background.