COLOR #0C5030

HEX: #0C5030
RGB: (12,80,48)

Color info

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

RGB color model

#0C5030 color RGB value is (12,80,48).

  • red value is 12;
  • green value is 80;
  • blue value is 48.
RGB:
(12,80,48)
(5%,31%,19%)

RGB channels and saturation

R 12 of 255 = 5%
G 80 of 255 = 31%
B 48 of 255 = 19%

12
80
48

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

Portions of RGB colors in percentages

R + G + B =
12 + 80 + 48 = 140 (100%)
R 12 of 140 ~ 8.57%
G 80 of 140 ~ 57.14%
B 48 of 140 ~ 34.29%

%57.14
%34.29

CMYK color model

#0C5030 color CMYK value is (85,0,40,69).

  • cyan value is 85.00%
  • magenta value is 0.00%
  • yellow value is 40.00%
  • key color value is 68.63%
CMYK:
(85,0,40,69)
C85M0Y40K69 
(85%,0%,40%,69%)
(0.85/0.00/0.40/0.69)	

CMYK percentages

%85
%0
%40
%68.63

Codes

Color #0C5030 in popluar color models

0C5030
RGB128048
HSL152°73.91%18.04%
HSB/HSV152°85.00%31.37%
CMYK85.00%0.00%40.00%
68.63%

Color #0C5030 in popluar number systems.

HEX0C5030
Decimal128048
Binary11001010000110000
Octal1412060

Shades and tints

Shades of #0C5030

#0C5030
(12,80,48)
#0B492C
(11,73,44)
#0A4228
(10,66,40)
#093B24
(9,59,36)
#083420
(8,52,32)
#072D1C
(7,45,28)
#062618
(6,38,24)
#051F14
(5,31,20)
#041810
(4,24,16)
#03110C
(3,17,12)
#020A08
(2,10,8)
#000000
(0,0,0)

Tints of #0C5030

#0C5030
(12,80,48)
#225F42
(34,95,66)
#386E54
(56,110,84)
#4E7D66
(78,125,102)
#648C78
(100,140,120)
#7A9B8A
(122,155,138)
#90AA9C
(144,170,156)
#A6B9AE
(166,185,174)
#BCC8C0
(188,200,192)
#D2D7D2
(210,215,210)
#E8E6E4
(232,230,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C5030 color. Also use rgb(12,80,48) instead hex code.

Text Font Color

.myTextColor { color: #0C5030; }

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

This text font color is #0C5030.


Background Color

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

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

This div background color is #0C5030.


Border color

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

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

This div border color is #0C5030.


Opacity

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

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

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

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

This text has shadow with #0C5030 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C5030 on black background.


Color preview on white background

This text has color #0C5030 on white background.



Black color preview on #0C5030 background

This text has black color on #0C5030 background.


White color preview on #0C5030 background

This text has white color on #0C5030 background.