COLOR #0C021D

HEX: #0C021D
RGB: (12,2,29)

Color info

#0C021D contains red, green and blue colors in about the same proportion. Web safe color of #0C021D is #000033 (or #003).

RGB color model

#0C021D color RGB value is (12,2,29).

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

RGB channels and saturation

R 12 of 255 = 5%
G 2 of 255 = 1%
B 29 of 255 = 11%

12
2
29

R + G + B ~ 6%. #0C021D is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 2 + 29 = 43 (100%)
R 12 of 43 ~ 27.91%
G 2 of 43 ~ 4.65%
B 29 of 43 ~ 67.44%

%27.91
%67.44

CMYK color model

#0C021D color CMYK value is (59,93,0,89).

  • cyan value is 58.62%
  • magenta value is 93.10%
  • yellow value is 0.00%
  • key color value is 88.63%
CMYK:
(59,93,0,89)
C59M93Y0K89 
(59%,93%,0%,89%)
(0.59/0.93/0.00/0.89)	

CMYK percentages

%58.62
%93.1
%0
%88.63

Codes

Color #0C021D in popluar color models

0C021D
RGB12229
HSL262°87.10%6.08%
HSB/HSV262°93.10%11.37%
CMYK58.62%93.10%0.00%
88.63%

Color #0C021D in popluar number systems.

HEX0C021D
Decimal12229
Binary11001011101
Octal14235

Shades and tints

Shades of #0C021D

#0C021D
(12,2,29)
#0B021B
(11,2,27)
#0A0219
(10,2,25)
#090217
(9,2,23)
#080215
(8,2,21)
#070213
(7,2,19)
#060211
(6,2,17)
#05020F
(5,2,15)
#04020D
(4,2,13)
#03020B
(3,2,11)
#020209
(2,2,9)
#000000
(0,0,0)

Tints of #0C021D

#0C021D
(12,2,29)
#221931
(34,25,49)
#383045
(56,48,69)
#4E4759
(78,71,89)
#645E6D
(100,94,109)
#7A7581
(122,117,129)
#908C95
(144,140,149)
#A6A3A9
(166,163,169)
#BCBABD
(188,186,189)
#D2D1D1
(210,209,209)
#E8E8E5
(232,232,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C021D; }

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

This text font color is #0C021D.


Background Color

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

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

This div background color is #0C021D.


Border color

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

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

This div border color is #0C021D.


Opacity

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

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

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

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

This text has shadow with #0C021D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C021D on black background.


Color preview on white background

This text has color #0C021D on white background.



Black color preview on #0C021D background

This text has black color on #0C021D background.


White color preview on #0C021D background

This text has white color on #0C021D background.