COLOR #0C5C1F

HEX: #0C5C1F
RGB: (12,92,31)

Color info

#0C5C1F contains mainly green color. Web safe color of #0C5C1F is #006633 (or #063).

RGB color model

#0C5C1F color RGB value is (12,92,31).

  • red value is 12;
  • green value is 92;
  • blue value is 31.
RGB:
(12,92,31)
(5%,36%,12%)

RGB channels and saturation

R 12 of 255 = 5%
G 92 of 255 = 36%
B 31 of 255 = 12%

12
92
31

R + G + B ~ 18%. #0C5C1F is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 92 + 31 = 135 (100%)
R 12 of 135 ~ 8.89%
G 92 of 135 ~ 68.15%
B 31 of 135 ~ 22.96%

%68.15
%22.96

CMYK color model

#0C5C1F color CMYK value is (87,0,66,64).

  • cyan value is 86.96%
  • magenta value is 0.00%
  • yellow value is 66.30%
  • key color value is 63.92%
CMYK:
(87,0,66,64)
C87M0Y66K64 
(87%,0%,66%,64%)
(0.87/0.00/0.66/0.64)	

CMYK percentages

%86.96
%0
%66.3
%63.92

Codes

Color #0C5C1F in popluar color models

0C5C1F
RGB129231
HSL134°76.92%20.39%
HSB/HSV134°86.96%36.08%
CMYK86.96%0.00%66.30%
63.92%

Color #0C5C1F in popluar number systems.

HEX0C5C1F
Decimal129231
Binary1100101110011111
Octal1413437

Shades and tints

Shades of #0C5C1F

#0C5C1F
(12,92,31)
#0B541D
(11,84,29)
#0A4C1B
(10,76,27)
#094419
(9,68,25)
#083C17
(8,60,23)
#073415
(7,52,21)
#062C13
(6,44,19)
#052411
(5,36,17)
#041C0F
(4,28,15)
#03140D
(3,20,13)
#020C0B
(2,12,11)
#000000
(0,0,0)

Tints of #0C5C1F

#0C5C1F
(12,92,31)
#226A33
(34,106,51)
#387847
(56,120,71)
#4E865B
(78,134,91)
#64946F
(100,148,111)
#7AA283
(122,162,131)
#90B097
(144,176,151)
#A6BEAB
(166,190,171)
#BCCCBF
(188,204,191)
#D2DAD3
(210,218,211)
#E8E8E7
(232,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C5C1F color. Also use rgb(12,92,31) instead hex code.

Text Font Color

.myTextColor { color: #0C5C1F; }

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

This text font color is #0C5C1F.


Background Color

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

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

This div background color is #0C5C1F.


Border color

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

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

This div border color is #0C5C1F.


Opacity

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

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

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

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

This text has shadow with #0C5C1F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C5C1F on black background.


Color preview on white background

This text has color #0C5C1F on white background.



Black color preview on #0C5C1F background

This text has black color on #0C5C1F background.


White color preview on #0C5C1F background

This text has white color on #0C5C1F background.