COLOR #0C5902

HEX: #0C5902
RGB: (12,89,2)

Color info

#0C5902 contains mainly green color. Web safe color of #0C5902 is #006600 (or #060).

RGB color model

#0C5902 color RGB value is (12,89,2).

  • red value is 12;
  • green value is 89;
  • blue value is 2.
RGB:
(12,89,2)
(5%,35%,1%)

RGB channels and saturation

R 12 of 255 = 5%
G 89 of 255 = 35%
B 2 of 255 = 1%

12
89
2

R + G + B ~ 14%. #0C5902 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 89 + 2 = 103 (100%)
R 12 of 103 ~ 11.65%
G 89 of 103 ~ 86.41%
B 2 of 103 ~ 1.94%

%11.65
%86.41

CMYK color model

#0C5902 color CMYK value is (87,0,98,65).

  • cyan value is 86.52%
  • magenta value is 0.00%
  • yellow value is 97.75%
  • key color value is 65.10%
CMYK:
(87,0,98,65)
C87M0Y98K65 
(87%,0%,98%,65%)
(0.87/0.00/0.98/0.65)	

CMYK percentages

%86.52
%0
%97.75
%65.1

Codes

Color #0C5902 in popluar color models

0C5902
RGB12892
HSL113°95.60%17.84%
HSB/HSV113°97.75%34.90%
CMYK86.52%0.00%97.75%
65.10%

Color #0C5902 in popluar number systems.

HEX0C5902
Decimal12892
Binary1100101100110
Octal141312

Shades and tints

Shades of #0C5902

#0C5902
(12,89,2)
#0B5102
(11,81,2)
#0A4902
(10,73,2)
#094102
(9,65,2)
#083902
(8,57,2)
#073102
(7,49,2)
#062902
(6,41,2)
#052102
(5,33,2)
#041902
(4,25,2)
#031102
(3,17,2)
#020902
(2,9,2)
#000000
(0,0,0)

Tints of #0C5902

#0C5902
(12,89,2)
#226819
(34,104,25)
#387730
(56,119,48)
#4E8647
(78,134,71)
#64955E
(100,149,94)
#7AA475
(122,164,117)
#90B38C
(144,179,140)
#A6C2A3
(166,194,163)
#BCD1BA
(188,209,186)
#D2E0D1
(210,224,209)
#E8EFE8
(232,239,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C5902 color. Also use rgb(12,89,2) instead hex code.

Text Font Color

.myTextColor { color: #0C5902; }

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

This text font color is #0C5902.


Background Color

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

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

This div background color is #0C5902.


Border color

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

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

This div border color is #0C5902.


Opacity

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

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

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

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

This text has shadow with #0C5902 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C5902 on black background.


Color preview on white background

This text has color #0C5902 on white background.



Black color preview on #0C5902 background

This text has black color on #0C5902 background.


White color preview on #0C5902 background

This text has white color on #0C5902 background.