COLOR #0C2A13

HEX: #0C2A13
RGB: (12,42,19)

Color info

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

RGB color model

#0C2A13 color RGB value is (12,42,19).

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

RGB channels and saturation

R 12 of 255 = 5%
G 42 of 255 = 16%
B 19 of 255 = 7%

12
42
19

R + G + B ~ 9%. #0C2A13 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 42 + 19 = 73 (100%)
R 12 of 73 ~ 16.44%
G 42 of 73 ~ 57.53%
B 19 of 73 ~ 26.03%

%16.44
%57.53
%26.03

CMYK color model

#0C2A13 color CMYK value is (71,0,55,84).

  • cyan value is 71.43%
  • magenta value is 0.00%
  • yellow value is 54.76%
  • key color value is 83.53%
CMYK:
(71,0,55,84)
C71M0Y55K84 
(71%,0%,55%,84%)
(0.71/0.00/0.55/0.84)	

CMYK percentages

%71.43
%0
%54.76
%83.53

Codes

Color #0C2A13 in popluar color models

0C2A13
RGB124219
HSL134°55.56%10.59%
HSB/HSV134°71.43%16.47%
CMYK71.43%0.00%54.76%
83.53%

Color #0C2A13 in popluar number systems.

HEX0C2A13
Decimal124219
Binary110010101010011
Octal145223

Shades and tints

Shades of #0C2A13

#0C2A13
(12,42,19)
#0B2712
(11,39,18)
#0A2411
(10,36,17)
#092110
(9,33,16)
#081E0F
(8,30,15)
#071B0E
(7,27,14)
#06180D
(6,24,13)
#05150C
(5,21,12)
#04120B
(4,18,11)
#030F0A
(3,15,10)
#020C09
(2,12,9)
#000000
(0,0,0)

Tints of #0C2A13

#0C2A13
(12,42,19)
#223D28
(34,61,40)
#38503D
(56,80,61)
#4E6352
(78,99,82)
#647667
(100,118,103)
#7A897C
(122,137,124)
#909C91
(144,156,145)
#A6AFA6
(166,175,166)
#BCC2BB
(188,194,187)
#D2D5D0
(210,213,208)
#E8E8E5
(232,232,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C2A13; }

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

This text font color is #0C2A13.


Background Color

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

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

This div background color is #0C2A13.


Border color

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

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

This div border color is #0C2A13.


Opacity

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

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

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

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

This text has shadow with #0C2A13 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C2A13 on black background.


Color preview on white background

This text has color #0C2A13 on white background.



Black color preview on #0C2A13 background

This text has black color on #0C2A13 background.


White color preview on #0C2A13 background

This text has white color on #0C2A13 background.