COLOR #0C1B5E

HEX: #0C1B5E
RGB: (12,27,94)

Color info

#0C1B5E contains mainly blue color. Web safe color of #0C1B5E is #003366 (or #036).

RGB color model

#0C1B5E color RGB value is (12,27,94).

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

RGB channels and saturation

R 12 of 255 = 5%
G 27 of 255 = 11%
B 94 of 255 = 37%

12
27
94

R + G + B ~ 18%. #0C1B5E is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 27 + 94 = 133 (100%)
R 12 of 133 ~ 9.02%
G 27 of 133 ~ 20.3%
B 94 of 133 ~ 70.68%

%20.3
%70.68

CMYK color model

#0C1B5E color CMYK value is (87,71,0,63).

  • cyan value is 87.23%
  • magenta value is 71.28%
  • yellow value is 0.00%
  • key color value is 63.14%
CMYK:
(87,71,0,63)
C87M71Y0K63 
(87%,71%,0%,63%)
(0.87/0.71/0.00/0.63)	

CMYK percentages

%87.23
%71.28
%0
%63.14

Codes

Color #0C1B5E in popluar color models

0C1B5E
RGB122794
HSL229°77.36%20.78%
HSB/HSV229°87.23%36.86%
CMYK87.23%71.28%0.00%
63.14%

Color #0C1B5E in popluar number systems.

HEX0C1B5E
Decimal122794
Binary1100110111011110
Octal1433136

Shades and tints

Shades of #0C1B5E

#0C1B5E
(12,27,94)
#0B1956
(11,25,86)
#0A174E
(10,23,78)
#091546
(9,21,70)
#08133E
(8,19,62)
#071136
(7,17,54)
#060F2E
(6,15,46)
#050D26
(5,13,38)
#040B1E
(4,11,30)
#030916
(3,9,22)
#02070E
(2,7,14)
#000000
(0,0,0)

Tints of #0C1B5E

#0C1B5E
(12,27,94)
#222F6C
(34,47,108)
#38437A
(56,67,122)
#4E5788
(78,87,136)
#646B96
(100,107,150)
#7A7FA4
(122,127,164)
#9093B2
(144,147,178)
#A6A7C0
(166,167,192)
#BCBBCE
(188,187,206)
#D2CFDC
(210,207,220)
#E8E3EA
(232,227,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1B5E; }

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

This text font color is #0C1B5E.


Background Color

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

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

This div background color is #0C1B5E.


Border color

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

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

This div border color is #0C1B5E.


Opacity

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

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

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

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

This text has shadow with #0C1B5E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1B5E on black background.


Color preview on white background

This text has color #0C1B5E on white background.



Black color preview on #0C1B5E background

This text has black color on #0C1B5E background.


White color preview on #0C1B5E background

This text has white color on #0C1B5E background.