COLOR #0C4C06

HEX: #0C4C06
RGB: (12,76,6)

Color info

#0C4C06 contains mainly green color. Web safe color of #0C4C06 is #003300 (or #030).

RGB color model

#0C4C06 color RGB value is (12,76,6).

  • red value is 12;
  • green value is 76;
  • blue value is 6.
RGB:
(12,76,6)
(5%,30%,2%)

RGB channels and saturation

R 12 of 255 = 5%
G 76 of 255 = 30%
B 6 of 255 = 2%

12
76
6

R + G + B ~ 12%. #0C4C06 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 76 + 6 = 94 (100%)
R 12 of 94 ~ 12.77%
G 76 of 94 ~ 80.85%
B 6 of 94 ~ 6.38%

%12.77
%80.85

CMYK color model

#0C4C06 color CMYK value is (84,0,92,70).

  • cyan value is 84.21%
  • magenta value is 0.00%
  • yellow value is 92.11%
  • key color value is 70.20%
CMYK:
(84,0,92,70)
C84M0Y92K70 
(84%,0%,92%,70%)
(0.84/0.00/0.92/0.70)	

CMYK percentages

%84.21
%0
%92.11
%70.2

Codes

Color #0C4C06 in popluar color models

0C4C06
RGB12766
HSL115°85.37%16.08%
HSB/HSV115°92.11%29.80%
CMYK84.21%0.00%92.11%
70.20%

Color #0C4C06 in popluar number systems.

HEX0C4C06
Decimal12766
Binary11001001100110
Octal141146

Shades and tints

Shades of #0C4C06

#0C4C06
(12,76,6)
#0B4606
(11,70,6)
#0A4006
(10,64,6)
#093A06
(9,58,6)
#083406
(8,52,6)
#072E06
(7,46,6)
#062806
(6,40,6)
#052206
(5,34,6)
#041C06
(4,28,6)
#031606
(3,22,6)
#021006
(2,16,6)
#000000
(0,0,0)

Tints of #0C4C06

#0C4C06
(12,76,6)
#225C1C
(34,92,28)
#386C32
(56,108,50)
#4E7C48
(78,124,72)
#648C5E
(100,140,94)
#7A9C74
(122,156,116)
#90AC8A
(144,172,138)
#A6BCA0
(166,188,160)
#BCCCB6
(188,204,182)
#D2DCCC
(210,220,204)
#E8ECE2
(232,236,226)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C4C06 color. Also use rgb(12,76,6) instead hex code.

Text Font Color

.myTextColor { color: #0C4C06; }

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

This text font color is #0C4C06.


Background Color

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

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

This div background color is #0C4C06.


Border color

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

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

This div border color is #0C4C06.


Opacity

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

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

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

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

This text has shadow with #0C4C06 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C4C06 on black background.


Color preview on white background

This text has color #0C4C06 on white background.



Black color preview on #0C4C06 background

This text has black color on #0C4C06 background.


White color preview on #0C4C06 background

This text has white color on #0C4C06 background.