COLOR #0C121F

HEX: #0C121F
RGB: (12,18,31)

Color info

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

RGB color model

#0C121F color RGB value is (12,18,31).

  • red value is 12;
  • green value is 18;
  • blue value is 31.
RGB:
(12,18,31)
(5%,7%,12%)

RGB channels and saturation

R 12 of 255 = 5%
G 18 of 255 = 7%
B 31 of 255 = 12%

12
18
31

R + G + B ~ 8%. #0C121F is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 18 + 31 = 61 (100%)
R 12 of 61 ~ 19.67%
G 18 of 61 ~ 29.51%
B 31 of 61 ~ 50.82%

%19.67
%29.51
%50.82

CMYK color model

#0C121F color CMYK value is (61,42,0,88).

  • cyan value is 61.29%
  • magenta value is 41.94%
  • yellow value is 0.00%
  • key color value is 87.84%
CMYK:
(61,42,0,88)
C61M42Y0K88 
(61%,42%,0%,88%)
(0.61/0.42/0.00/0.88)	

CMYK percentages

%61.29
%41.94
%0
%87.84

Codes

Color #0C121F in popluar color models

0C121F
RGB121831
HSL221°44.19%8.43%
HSB/HSV221°61.29%12.16%
CMYK61.29%41.94%0.00%
87.84%

Color #0C121F in popluar number systems.

HEX0C121F
Decimal121831
Binary11001001011111
Octal142237

Shades and tints

Shades of #0C121F

#0C121F
(12,18,31)
#0B111D
(11,17,29)
#0A101B
(10,16,27)
#090F19
(9,15,25)
#080E17
(8,14,23)
#070D15
(7,13,21)
#060C13
(6,12,19)
#050B11
(5,11,17)
#040A0F
(4,10,15)
#03090D
(3,9,13)
#02080B
(2,8,11)
#000000
(0,0,0)

Tints of #0C121F

#0C121F
(12,18,31)
#222733
(34,39,51)
#383C47
(56,60,71)
#4E515B
(78,81,91)
#64666F
(100,102,111)
#7A7B83
(122,123,131)
#909097
(144,144,151)
#A6A5AB
(166,165,171)
#BCBABF
(188,186,191)
#D2CFD3
(210,207,211)
#E8E4E7
(232,228,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C121F color. Also use rgb(12,18,31) instead hex code.

Text Font Color

.myTextColor { color: #0C121F; }

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

This text font color is #0C121F.


Background Color

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

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

This div background color is #0C121F.


Border color

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

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

This div border color is #0C121F.


Opacity

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

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

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

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

This text has shadow with #0C121F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C121F on black background.


Color preview on white background

This text has color #0C121F on white background.



Black color preview on #0C121F background

This text has black color on #0C121F background.


White color preview on #0C121F background

This text has white color on #0C121F background.