COLOR #0C1B2E

HEX: #0C1B2E
RGB: (12,27,46)

Color info

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

RGB color model

#0C1B2E color RGB value is (12,27,46).

  • red value is 12;
  • green value is 27;
  • blue value is 46.
RGB:
(12,27,46)
(5%,11%,18%)

RGB channels and saturation

R 12 of 255 = 5%
G 27 of 255 = 11%
B 46 of 255 = 18%

12
27
46

R + G + B ~ 11%. #0C1B2E is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 27 + 46 = 85 (100%)
R 12 of 85 ~ 14.12%
G 27 of 85 ~ 31.76%
B 46 of 85 ~ 54.12%

%14.12
%31.76
%54.12

CMYK color model

#0C1B2E color CMYK value is (74,41,0,82).

  • cyan value is 73.91%
  • magenta value is 41.30%
  • yellow value is 0.00%
  • key color value is 81.96%
CMYK:
(74,41,0,82)
C74M41Y0K82 
(74%,41%,0%,82%)
(0.74/0.41/0.00/0.82)	

CMYK percentages

%73.91
%41.3
%0
%81.96

Codes

Color #0C1B2E in popluar color models

0C1B2E
RGB122746
HSL214°58.62%11.37%
HSB/HSV214°73.91%18.04%
CMYK73.91%41.30%0.00%
81.96%

Color #0C1B2E in popluar number systems.

HEX0C1B2E
Decimal122746
Binary110011011101110
Octal143356

Shades and tints

Shades of #0C1B2E

#0C1B2E
(12,27,46)
#0B192A
(11,25,42)
#0A1726
(10,23,38)
#091522
(9,21,34)
#08131E
(8,19,30)
#07111A
(7,17,26)
#060F16
(6,15,22)
#050D12
(5,13,18)
#040B0E
(4,11,14)
#03090A
(3,9,10)
#020706
(2,7,6)
#000000
(0,0,0)

Tints of #0C1B2E

#0C1B2E
(12,27,46)
#222F41
(34,47,65)
#384354
(56,67,84)
#4E5767
(78,87,103)
#646B7A
(100,107,122)
#7A7F8D
(122,127,141)
#9093A0
(144,147,160)
#A6A7B3
(166,167,179)
#BCBBC6
(188,187,198)
#D2CFD9
(210,207,217)
#E8E3EC
(232,227,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C1B2E color. Also use rgb(12,27,46) instead hex code.

Text Font Color

.myTextColor { color: #0C1B2E; }

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

This text font color is #0C1B2E.


Background Color

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

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

This div background color is #0C1B2E.


Border color

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

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

This div border color is #0C1B2E.


Opacity

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

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

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

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

This text has shadow with #0C1B2E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1B2E on black background.


Color preview on white background

This text has color #0C1B2E on white background.



Black color preview on #0C1B2E background

This text has black color on #0C1B2E background.


White color preview on #0C1B2E background

This text has white color on #0C1B2E background.