COLOR #0C1C39

HEX: #0C1C39 RGB: (12,28,57)

Color info

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

RGB color model

#0C1C39 color RGB value is (12,28,57).

RGB: (12,28,57) (5%, 11%, 22%)

RGB channels and saturation

R 12 of 255 = 5%
G 28 of 255 = 11%
B 57 of 255 = 22%

12
28
57

R + G + B ~ 13%. #0C1C39 is dark color.

Portions of RGB colors in percentages

R + G + B = 12 + 28 + 57 = 97 (100%)
R 12 of 97 ~ 12.37%
G 28 of 97 ~ 28.87%
B 57 of 97 ~ 58.76'%

%12.37
%28.87
%58.76

CMYK color model

#0C1C39 color CMYK value is (79,51,0,78).

  • cyan value is 78.95%
  • magenta value is 50.88%
  • yellow value is 0.00%
  • key color value is 77.65%

CMYK: (79,51,0,78)
C79M51Y0K78 (79%, 51%, 0%, 78%)
(0.79 / 0.51 / 0.00 / 0.78)

CMYK percentages

%78.95
%50.88
%0
%77.65

Codes

Color #0C1C39 in popluar color models

0C 1C 39
RGB 12 28 57
HSL 219° 65.22% 13.53%
HSB/HSV 219° 78.95% 22.35%
CMYK 78.95% 50.88% 0.00%
77.65%

Color #0C1C39 in popluar number systems.

HEX 0C 1C 39
Decimal 12 28 57
Binary 1100 11100 111001
Octal 14 34 71

Shades and tints

Shades of #0C1C39

#0C1C39
(12,28,57)
#0B1A34
(11,26,52)
#0A182F
(10,24,47)
#09162A
(9,22,42)
#081425
(8,20,37)
#071220
(7,18,32)
#06101B
(6,16,27)
#050E16
(5,14,22)
#040C11
(4,12,17)
#030A0C
(3,10,12)
#020807
(2,8,7)
#000000
(0,0,0)

Tints of #0C1C39

#0C1C39
(12,28,57)
#22304B
(34,48,75)
#38445D
(56,68,93)
#4E586F
(78,88,111)
#646C81
(100,108,129)
#7A8093
(122,128,147)
#9094A5
(144,148,165)
#A6A8B7
(166,168,183)
#BCBCC9
(188,188,201)
#D2D0DB
(210,208,219)
#E8E4ED
(232,228,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C1C39 color. Also use rgb(12,28,57) instead hex code.

Text Font Color

.myTextColor { color: #0C1C39; }

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

This text font color is #0C1C39.

Background Color

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

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

This div background color is #0C1C39.

Border color

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

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

This div border color is #0C1C39.

Opacity

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

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

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

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

This text has shadow with #0C1C39 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C1C39.

Preview

Color preview on black background

This text has color #0C1C39 on black background.


Color preview on white background

This text has color #0C1C39 on white background.


Black color preview on #0C1C39 background

This text has black color on #0C1C39 background.


White color preview on #0C1C39 background

This text has white color on #0C1C39 background.


Related colors

Complementary color

Complementary color for #hex is #F3E3C6.


I love getcolorcode.com

Triadic colors

1 #390C1C and #1C390C with #0C1C39 are triadic colors.

2 #391C0C and #1C0C39 with #0C1C39 are triadic colors.