COLOR #0C1D31

HEX: #0C1D31
RGB: (12,29,49)

Color info

#0C1D31 contains red, green and blue colors in about the same proportion. Web safe color of #0C1D31 is #003333 (or #033).

RGB color model

#0C1D31 color RGB value is (12,29,49).

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

RGB channels and saturation

R 12 of 255 = 5%
G 29 of 255 = 11%
B 49 of 255 = 19%

12
29
49

R + G + B ~ 12%. #0C1D31 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 29 + 49 = 90 (100%)
R 12 of 90 ~ 13.33%
G 29 of 90 ~ 32.22%
B 49 of 90 ~ 54.44%

%13.33
%32.22
%54.44

CMYK color model

#0C1D31 color CMYK value is (76,41,0,81).

  • cyan value is 75.51%
  • magenta value is 40.82%
  • yellow value is 0.00%
  • key color value is 80.78%
CMYK:
(76,41,0,81)
C76M41Y0K81 
(76%,41%,0%,81%)
(0.76/0.41/0.00/0.81)	

CMYK percentages

%75.51
%40.82
%0
%80.78

Codes

Color #0C1D31 in popluar color models

0C1D31
RGB122949
HSL212°60.66%11.96%
HSB/HSV212°75.51%19.22%
CMYK75.51%40.82%0.00%
80.78%

Color #0C1D31 in popluar number systems.

HEX0C1D31
Decimal122949
Binary110011101110001
Octal143561

Shades and tints

Shades of #0C1D31

#0C1D31
(12,29,49)
#0B1B2D
(11,27,45)
#0A1929
(10,25,41)
#091725
(9,23,37)
#081521
(8,21,33)
#07131D
(7,19,29)
#061119
(6,17,25)
#050F15
(5,15,21)
#040D11
(4,13,17)
#030B0D
(3,11,13)
#020909
(2,9,9)
#000000
(0,0,0)

Tints of #0C1D31

#0C1D31
(12,29,49)
#223143
(34,49,67)
#384555
(56,69,85)
#4E5967
(78,89,103)
#646D79
(100,109,121)
#7A818B
(122,129,139)
#90959D
(144,149,157)
#A6A9AF
(166,169,175)
#BCBDC1
(188,189,193)
#D2D1D3
(210,209,211)
#E8E5E5
(232,229,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1D31; }

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

This text font color is #0C1D31.


Background Color

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

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

This div background color is #0C1D31.


Border color

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

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

This div border color is #0C1D31.


Opacity

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

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

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

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

This text has shadow with #0C1D31 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1D31 on black background.


Color preview on white background

This text has color #0C1D31 on white background.



Black color preview on #0C1D31 background

This text has black color on #0C1D31 background.


White color preview on #0C1D31 background

This text has white color on #0C1D31 background.