COLOR #0C1A2D

HEX: #0C1A2D
RGB: (12,26,45)

Color info

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

RGB color model

#0C1A2D color RGB value is (12,26,45).

  • red value is 12;
  • green value is 26;
  • blue value is 45.
RGB: (12,26,45) (5%,10%,18%)

RGB channels and saturation

R 12 of 255 = 5%
G 26 of 255 = 10%
B 45 of 255 = 18%

12
26
45

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

Portions of RGB colors in percentages

R + G + B =
12 + 26 + 45 = 83 (100%)
R 12 of 83 ~ 14.46%
G 26 of 83 ~ 31.33%
B 45 of 83 ~ 54.22%

%14.46
%31.33
%54.22

CMYK color model

#0C1A2D color CMYK value is (73,42,0,82).

  • cyan value is 73.33%
  • magenta value is 42.22%
  • yellow value is 0.00%
  • key color value is 82.35%
CMYK: (73,42,0,82) C73M42Y0K82 (73%,42%,0%,82%) (0.73/0.42/0.00/0.82)

CMYK percentages

%73.33
%42.22
%0
%82.35

Codes

Color #0C1A2D in popluar color models

0C1A2D
RGB122645
HSL215°57.89%11.18%
HSB/HSV215°73.33%17.65%
CMYK73.33%42.22%0.00%
82.35%

Color #0C1A2D in popluar number systems.

HEX0C1A2D
Decimal122645
Binary110011010101101
Octal143255

Shades and tints

Shades of #0C1A2D

#0C1A2D
(12,26,45)
#0B1829
(11,24,41)
#0A1625
(10,22,37)
#091421
(9,20,33)
#08121D
(8,18,29)
#071019
(7,16,25)
#060E15
(6,14,21)
#050C11
(5,12,17)
#040A0D
(4,10,13)
#030809
(3,8,9)
#020605
(2,6,5)
#000000
(0,0,0)

Tints of #0C1A2D

#0C1A2D
(12,26,45)
#222E40
(34,46,64)
#384253
(56,66,83)
#4E5666
(78,86,102)
#646A79
(100,106,121)
#7A7E8C
(122,126,140)
#90929F
(144,146,159)
#A6A6B2
(166,166,178)
#BCBAC5
(188,186,197)
#D2CED8
(210,206,216)
#E8E2EB
(232,226,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C1A2D color. Also use rgb(12,26,45) instead hex code.

Text Font Color

.myTextColor { color: #0C1A2D; }

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

This text font color is #0C1A2D.


Background Color

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

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

This div background color is #0C1A2D.


Border color

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

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

This div border color is #0C1A2D.


Opacity

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

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

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

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

This text has shadow with #0C1A2D color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #0C1A2D on black background.


Color preview on white background

This text has color #0C1A2D on white background.



Black color preview on #0C1A2D background

This text has black color on #0C1A2D background.


White color preview on #0C1A2D background

This text has white color on #0C1A2D background.