COLOR #0C2A15

HEX: #0C2A15
RGB: (12,42,21)

Color info

#0C2A15 contains red, green and blue colors in about the same proportion. Web safe color of #0C2A15 is #003300 (or #030).

RGB color model

#0C2A15 color RGB value is (12,42,21).

  • red value is 12;
  • green value is 42;
  • blue value is 21.
RGB:
(12,42,21)
(5%,16%,8%)

RGB channels and saturation

R 12 of 255 = 5%
G 42 of 255 = 16%
B 21 of 255 = 8%

12
42
21

R + G + B ~ 10%. #0C2A15 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 42 + 21 = 75 (100%)
R 12 of 75 ~ 16%
G 42 of 75 ~ 56%
B 21 of 75 ~ 28%

%16
%56
%28

CMYK color model

#0C2A15 color CMYK value is (71,0,50,84).

  • cyan value is 71.43%
  • magenta value is 0.00%
  • yellow value is 50.00%
  • key color value is 83.53%
CMYK:
(71,0,50,84)
C71M0Y50K84 
(71%,0%,50%,84%)
(0.71/0.00/0.50/0.84)	

CMYK percentages

%71.43
%0
%50
%83.53

Codes

Color #0C2A15 in popluar color models

0C2A15
RGB124221
HSL138°55.56%10.59%
HSB/HSV138°71.43%16.47%
CMYK71.43%0.00%50.00%
83.53%

Color #0C2A15 in popluar number systems.

HEX0C2A15
Decimal124221
Binary110010101010101
Octal145225

Shades and tints

Shades of #0C2A15

#0C2A15
(12,42,21)
#0B2714
(11,39,20)
#0A2413
(10,36,19)
#092112
(9,33,18)
#081E11
(8,30,17)
#071B10
(7,27,16)
#06180F
(6,24,15)
#05150E
(5,21,14)
#04120D
(4,18,13)
#030F0C
(3,15,12)
#020C0B
(2,12,11)
#000000
(0,0,0)

Tints of #0C2A15

#0C2A15
(12,42,21)
#223D2A
(34,61,42)
#38503F
(56,80,63)
#4E6354
(78,99,84)
#647669
(100,118,105)
#7A897E
(122,137,126)
#909C93
(144,156,147)
#A6AFA8
(166,175,168)
#BCC2BD
(188,194,189)
#D2D5D2
(210,213,210)
#E8E8E7
(232,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C2A15 color. Also use rgb(12,42,21) instead hex code.

Text Font Color

.myTextColor { color: #0C2A15; }

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

This text font color is #0C2A15.


Background Color

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

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

This div background color is #0C2A15.


Border color

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

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

This div border color is #0C2A15.


Opacity

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

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

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

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

This text has shadow with #0C2A15 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C2A15 on black background.


Color preview on white background

This text has color #0C2A15 on white background.



Black color preview on #0C2A15 background

This text has black color on #0C2A15 background.


White color preview on #0C2A15 background

This text has white color on #0C2A15 background.