COLOR #0C1F42

HEX: #0C1F42
RGB: (12,31,66)

Color info

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

RGB color model

#0C1F42 color RGB value is (12,31,66).

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

RGB channels and saturation

R 12 of 255 = 5%
G 31 of 255 = 12%
B 66 of 255 = 26%

12
31
66

R + G + B ~ 14%. #0C1F42 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 31 + 66 = 109 (100%)
R 12 of 109 ~ 11.01%
G 31 of 109 ~ 28.44%
B 66 of 109 ~ 60.55%

%11.01
%28.44
%60.55

CMYK color model

#0C1F42 color CMYK value is (82,53,0,74).

  • cyan value is 81.82%
  • magenta value is 53.03%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(82,53,0,74)
C82M53Y0K74 
(82%,53%,0%,74%)
(0.82/0.53/0.00/0.74)	

CMYK percentages

%81.82
%53.03
%0
%74.12

Codes

Color #0C1F42 in popluar color models

0C1F42
RGB123166
HSL219°69.23%15.29%
HSB/HSV219°81.82%25.88%
CMYK81.82%53.03%0.00%
74.12%

Color #0C1F42 in popluar number systems.

HEX0C1F42
Decimal123166
Binary1100111111000010
Octal1437102

Shades and tints

Shades of #0C1F42

#0C1F42
(12,31,66)
#0B1D3C
(11,29,60)
#0A1B36
(10,27,54)
#091930
(9,25,48)
#08172A
(8,23,42)
#071524
(7,21,36)
#06131E
(6,19,30)
#051118
(5,17,24)
#040F12
(4,15,18)
#030D0C
(3,13,12)
#020B06
(2,11,6)
#000000
(0,0,0)

Tints of #0C1F42

#0C1F42
(12,31,66)
#223353
(34,51,83)
#384764
(56,71,100)
#4E5B75
(78,91,117)
#646F86
(100,111,134)
#7A8397
(122,131,151)
#9097A8
(144,151,168)
#A6ABB9
(166,171,185)
#BCBFCA
(188,191,202)
#D2D3DB
(210,211,219)
#E8E7EC
(232,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1F42; }

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

This text font color is #0C1F42.


Background Color

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

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

This div background color is #0C1F42.


Border color

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

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

This div border color is #0C1F42.


Opacity

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

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

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

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

This text has shadow with #0C1F42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1F42 on black background.


Color preview on white background

This text has color #0C1F42 on white background.



Black color preview on #0C1F42 background

This text has black color on #0C1F42 background.


White color preview on #0C1F42 background

This text has white color on #0C1F42 background.