COLOR #0C5F2C

HEX: #0C5F2C
RGB: (12,95,44)

Color info

#0C5F2C contains mainly green and blue colors. Web safe color of #0C5F2C is #006633 (or #063).

RGB color model

#0C5F2C color RGB value is (12,95,44).

  • red value is 12;
  • green value is 95;
  • blue value is 44.
RGB:
(12,95,44)
(5%,37%,17%)

RGB channels and saturation

R 12 of 255 = 5%
G 95 of 255 = 37%
B 44 of 255 = 17%

12
95
44

R + G + B ~ 20%. #0C5F2C is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 95 + 44 = 151 (100%)
R 12 of 151 ~ 7.95%
G 95 of 151 ~ 62.91%
B 44 of 151 ~ 29.14%

%62.91
%29.14

CMYK color model

#0C5F2C color CMYK value is (87,0,54,63).

  • cyan value is 87.37%
  • magenta value is 0.00%
  • yellow value is 53.68%
  • key color value is 62.75%
CMYK:
(87,0,54,63)
C87M0Y54K63 
(87%,0%,54%,63%)
(0.87/0.00/0.54/0.63)	

CMYK percentages

%87.37
%0
%53.68
%62.75

Codes

Color #0C5F2C in popluar color models

0C5F2C
RGB129544
HSL143°77.57%20.98%
HSB/HSV143°87.37%37.25%
CMYK87.37%0.00%53.68%
62.75%

Color #0C5F2C in popluar number systems.

HEX0C5F2C
Decimal129544
Binary11001011111101100
Octal1413754

Shades and tints

Shades of #0C5F2C

#0C5F2C
(12,95,44)
#0B5728
(11,87,40)
#0A4F24
(10,79,36)
#094720
(9,71,32)
#083F1C
(8,63,28)
#073718
(7,55,24)
#062F14
(6,47,20)
#052710
(5,39,16)
#041F0C
(4,31,12)
#031708
(3,23,8)
#020F04
(2,15,4)
#000000
(0,0,0)

Tints of #0C5F2C

#0C5F2C
(12,95,44)
#226D3F
(34,109,63)
#387B52
(56,123,82)
#4E8965
(78,137,101)
#649778
(100,151,120)
#7AA58B
(122,165,139)
#90B39E
(144,179,158)
#A6C1B1
(166,193,177)
#BCCFC4
(188,207,196)
#D2DDD7
(210,221,215)
#E8EBEA
(232,235,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C5F2C color. Also use rgb(12,95,44) instead hex code.

Text Font Color

.myTextColor { color: #0C5F2C; }

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

This text font color is #0C5F2C.


Background Color

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

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

This div background color is #0C5F2C.


Border color

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

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

This div border color is #0C5F2C.


Opacity

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

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

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

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

This text has shadow with #0C5F2C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C5F2C on black background.


Color preview on white background

This text has color #0C5F2C on white background.



Black color preview on #0C5F2C background

This text has black color on #0C5F2C background.


White color preview on #0C5F2C background

This text has white color on #0C5F2C background.