COLOR #0C1C46

HEX: #0C1C46 RGB: (12,28,70)

Color info

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

RGB color model

#0C1C46 color RGB value is (12,28,70).

RGB: (12,28,70) (5%, 11%, 27%)

RGB channels and saturation

R 12 of 255 = 5%
G 28 of 255 = 11%
B 70 of 255 = 27%

12
28
70

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

Portions of RGB colors in percentages

R + G + B = 12 + 28 + 70 = 110 (100%)
R 12 of 110 ~ 10.91%
G 28 of 110 ~ 25.45%
B 70 of 110 ~ 63.64'%

%10.91
%25.45
%63.64

CMYK color model

#0C1C46 color CMYK value is (83,60,0,73).

  • cyan value is 82.86%
  • magenta value is 60.00%
  • yellow value is 0.00%
  • key color value is 72.55%

CMYK: (83,60,0,73)
C83M60Y0K73 (83%, 60%, 0%, 73%)
(0.83 / 0.60 / 0.00 / 0.73)

CMYK percentages

%82.86
%60
%0
%72.55

Codes

Color #0C1C46 in popluar color models

0C 1C 46
RGB 12 28 70
HSL 223° 70.73% 16.08%
HSB/HSV 223° 82.86% 27.45%
CMYK 82.86% 60.00% 0.00%
72.55%

Color #0C1C46 in popluar number systems.

HEX 0C 1C 46
Decimal 12 28 70
Binary 1100 11100 1000110
Octal 14 34 106

Shades and tints

Shades of #0C1C46

#0C1C46
(12,28,70)
#0B1A40
(11,26,64)
#0A183A
(10,24,58)
#091634
(9,22,52)
#08142E
(8,20,46)
#071228
(7,18,40)
#061022
(6,16,34)
#050E1C
(5,14,28)
#040C16
(4,12,22)
#030A10
(3,10,16)
#02080A
(2,8,10)
#000000
(0,0,0)

Tints of #0C1C46

#0C1C46
(12,28,70)
#223056
(34,48,86)
#384466
(56,68,102)
#4E5876
(78,88,118)
#646C86
(100,108,134)
#7A8096
(122,128,150)
#9094A6
(144,148,166)
#A6A8B6
(166,168,182)
#BCBCC6
(188,188,198)
#D2D0D6
(210,208,214)
#E8E4E6
(232,228,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1C46; }

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

This text font color is #0C1C46.

Background Color

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

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

This div background color is #0C1C46.

Border color

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

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

This div border color is #0C1C46.

Opacity

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

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

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

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

This text has shadow with #0C1C46 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C1C46.

Preview

Color preview on black background

This text has color #0C1C46 on black background.


Color preview on white background

This text has color #0C1C46 on white background.


Black color preview on #0C1C46 background

This text has black color on #0C1C46 background.


White color preview on #0C1C46 background

This text has white color on #0C1C46 background.


Related colors

Complementary color

Complementary color for #hex is #F3E3B9.


I love getcolorcode.com

Triadic colors

1 #460C1C and #1C460C with #0C1C46 are triadic colors.

2 #461C0C and #1C0C46 with #0C1C46 are triadic colors.