COLOR #0C842D

HEX: #0C842D
RGB: (12,132,45)

Color info

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

RGB color model

#0C842D color RGB value is (12,132,45).

  • red value is 12;
  • green value is 132;
  • blue value is 45.
RGB:
(12,132,45)
(5%,52%,18%)

RGB channels and saturation

R 12 of 255 = 5%
G 132 of 255 = 52%
B 45 of 255 = 18%

12
132
45

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

Portions of RGB colors in percentages

R + G + B =
12 + 132 + 45 = 189 (100%)
R 12 of 189 ~ 6.35%
G 132 of 189 ~ 69.84%
B 45 of 189 ~ 23.81%

%69.84
%23.81

CMYK color model

#0C842D color CMYK value is (91,0,66,48).

  • cyan value is 90.91%
  • magenta value is 0.00%
  • yellow value is 65.91%
  • key color value is 48.24%
CMYK:
(91,0,66,48)
C91M0Y66K48 
(91%,0%,66%,48%)
(0.91/0.00/0.66/0.48)	

CMYK percentages

%90.91
%0
%65.91
%48.24

Codes

Color #0C842D in popluar color models

0C842D
RGB1213245
HSL137°83.33%28.24%
HSB/HSV137°90.91%51.76%
CMYK90.91%0.00%65.91%
48.24%

Color #0C842D in popluar number systems.

HEX0C842D
Decimal1213245
Binary110010000100101101
Octal1420455

Shades and tints

Shades of #0C842D

#0C842D
(12,132,45)
#0B7829
(11,120,41)
#0A6C25
(10,108,37)
#096021
(9,96,33)
#08541D
(8,84,29)
#074819
(7,72,25)
#063C15
(6,60,21)
#053011
(5,48,17)
#04240D
(4,36,13)
#031809
(3,24,9)
#020C05
(2,12,5)
#000000
(0,0,0)

Tints of #0C842D

#0C842D
(12,132,45)
#228F40
(34,143,64)
#389A53
(56,154,83)
#4EA566
(78,165,102)
#64B079
(100,176,121)
#7ABB8C
(122,187,140)
#90C69F
(144,198,159)
#A6D1B2
(166,209,178)
#BCDCC5
(188,220,197)
#D2E7D8
(210,231,216)
#E8F2EB
(232,242,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C842D color. Also use rgb(12,132,45) instead hex code.

Text Font Color

.myTextColor { color: #0C842D; }

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

This text font color is #0C842D.


Background Color

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

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

This div background color is #0C842D.


Border color

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

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

This div border color is #0C842D.


Opacity

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

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

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

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

This text has shadow with #0C842D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C842D on black background.


Color preview on white background

This text has color #0C842D on white background.



Black color preview on #0C842D background

This text has black color on #0C842D background.


White color preview on #0C842D background

This text has white color on #0C842D background.