COLOR #0C1C9C

HEX: #0C1C9C RGB: (12,28,156)

Color info

#0C1C9C contains mainly blue color. Web safe color of #0C1C9C is #003399 (or #039).

RGB color model

#0C1C9C color RGB value is (12,28,156).

RGB: (12,28,156) (5%, 11%, 61%)

RGB channels and saturation

R 12 of 255 = 5%
G 28 of 255 = 11%
B 156 of 255 = 61%

12
28
156

R + G + B ~ 26%. #0C1C9C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 12 + 28 + 156 = 196 (100%)
R 12 of 196 ~ 6.12%
G 28 of 196 ~ 14.29%
B 156 of 196 ~ 79.59'%

%14.29
%79.59

CMYK color model

#0C1C9C color CMYK value is (92,82,0,39).

  • cyan value is 92.31%
  • magenta value is 82.05%
  • yellow value is 0.00%
  • key color value is 38.82%

CMYK: (92,82,0,39)
C92M82Y0K39 (92%, 82%, 0%, 39%)
(0.92 / 0.82 / 0.00 / 0.39)

CMYK percentages

%92.31
%82.05
%0
%38.82

Codes

Color #0C1C9C in popluar color models

0C 1C 9C
RGB 12 28 156
HSL 233° 85.71% 32.94%
HSB/HSV 233° 92.31% 61.18%
CMYK 92.31% 82.05% 0.00%
38.82%

Color #0C1C9C in popluar number systems.

HEX 0C 1C 9C
Decimal 12 28 156
Binary 1100 11100 10011100
Octal 14 34 234

Shades and tints

Shades of #0C1C9C

#0C1C9C
(12,28,156)
#0B1A8E
(11,26,142)
#0A1880
(10,24,128)
#091672
(9,22,114)
#081464
(8,20,100)
#071256
(7,18,86)
#061048
(6,16,72)
#050E3A
(5,14,58)
#040C2C
(4,12,44)
#030A1E
(3,10,30)
#020810
(2,8,16)
#000000
(0,0,0)

Tints of #0C1C9C

#0C1C9C
(12,28,156)
#2230A5
(34,48,165)
#3844AE
(56,68,174)
#4E58B7
(78,88,183)
#646CC0
(100,108,192)
#7A80C9
(122,128,201)
#9094D2
(144,148,210)
#A6A8DB
(166,168,219)
#BCBCE4
(188,188,228)
#D2D0ED
(210,208,237)
#E8E4F6
(232,228,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1C9C; }

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

This text font color is #0C1C9C.

Background Color

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

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

This div background color is #0C1C9C.

Border color

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

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

This div border color is #0C1C9C.

Opacity

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

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

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

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

This text has shadow with #0C1C9C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C1C9C.

Preview

Color preview on black background

This text has color #0C1C9C on black background.


Color preview on white background

This text has color #0C1C9C on white background.


Black color preview on #0C1C9C background

This text has black color on #0C1C9C background.


White color preview on #0C1C9C background

This text has white color on #0C1C9C background.


Related colors

Complementary color

Complementary color for #hex is #F3E363.


I love getcolorcode.com

Triadic colors

1 #9C0C1C and #1C9C0C with #0C1C9C are triadic colors.

2 #9C1C0C and #1C0C9C with #0C1C9C are triadic colors.